cpython源代码中raw_input是在哪里实现的? [英] Where is raw_input implemented in the cpython source code?

查看:57
本文介绍了cpython源代码中raw_input是在哪里实现的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在浏览 cpython 的 2.7 分支,但似乎找不到任何对它的引用.

I've been looking through the 2.7 branch of cpython and can't seem to find any reference to it.

推荐答案

这里是:https://github.com/python/cpython/blob/2.7/Python/bltinmodule.c(搜索builtin_raw_input)

Here it is: https://github.com/python/cpython/blob/2.7/Python/bltinmodule.c (search for builtin_raw_input)

这篇关于cpython源代码中raw_input是在哪里实现的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆