# Source Code Layout For modules: - `Lib/.py` - `Modules/_module.c` (if there's also a C accelerator module) - `Lib/test/test_.py` - `Doc/library/.rst` For extension-only modules, the typical layout is: - `Modules/module.c` - `Lib/test/test_.py` - `Doc/library/.rst` For builtin types, the typical layout is: - `Objects/object.c` - `Lib/test/test_.py` - `Doc/library/stdtypes.rst` For builtin functions, the typical layout is: - `Python/bltinmodule.c` - `Lib/test/test_.py` - `Doc/library/functions.rst` Some Exceptions: - builtin type `int` is at `Objects/longobject.c` - builtin type `str` is at `Objects/unicodeobject.c`