哪里可以看到/usr/lib/python3.x下的python列表的代码?

问题描述

这里我可以看到python的所有核心模块的源代码,如'os'、'turtle'、'multiprocessing'、'argparse'……但我似乎找不到内置数据结构的类定义像字典和列表。 我试过了

$ grep -r 'class list' .
./pydoc_data/topics.py:          '   the base class list; "__doc__" is the class’s documentation '
./pydoc_data/topics.py:             'class list([iterable])\n'
Binary file ./pydoc_data/__pycache__/topics.cpython-36.pyc matches

但是在这个“topics.py”文件中没有找到“class”实现。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)