The compiled parts are code that it is written directly in C by the CPython developers, and is compiled inside the interpreter when the interpreter is built (other code written in C or other compiled languages can be called by Python if it is compiled in Python extensions or via ctypes).