@@ -17,7 +17,7 @@ Initialization, Finalization, and Threads
1717 single: PyEval_AcquireLock()
1818 single: modules (in module sys)
1919 single: path (in module sys)
20- module: __builtin__
20+ module: builtins
2121 module: __main__
2222 module: sys
2323 triple: module; search; path
@@ -29,7 +29,7 @@ Initialization, Finalization, and Threads
2929 exception of :cfunc: `Py_SetProgramName `, :cfunc: `PyEval_InitThreads `,
3030 :cfunc: `PyEval_ReleaseLock `, and :cfunc: `PyEval_AcquireLock `. This initializes
3131 the table of loaded modules (``sys.modules ``), and creates the fundamental
32- modules :mod: `__builtin__ `, :mod: `__main__ ` and :mod: `sys `. It also initializes
32+ modules :mod: `builtins `, :mod: `__main__ ` and :mod: `sys `. It also initializes
3333 the module search path (``sys.path ``). It does not set ``sys.argv ``; use
3434 :cfunc: `PySys_SetArgv ` for that. This is a no-op when called for a second time
3535 (without calling :cfunc: `Py_Finalize ` first). There is no return value; it is a
@@ -83,7 +83,7 @@ Initialization, Finalization, and Threads
8383.. cfunction :: PyThreadState* Py_NewInterpreter()
8484
8585 .. index ::
86- module: __builtin__
86+ module: builtins
8787 module: __main__
8888 module: sys
8989 single: stdout (in module sys)
@@ -93,7 +93,7 @@ Initialization, Finalization, and Threads
9393 Create a new sub-interpreter. This is an (almost) totally separate environment
9494 for the execution of Python code. In particular, the new interpreter has
9595 separate, independent versions of all imported modules, including the
96- fundamental modules :mod: `__builtin__ `, :mod: `__main__ ` and :mod: `sys `. The
96+ fundamental modules :mod: `builtins `, :mod: `__main__ ` and :mod: `sys `. The
9797 table of loaded modules (``sys.modules ``) and the module search path
9898 (``sys.path ``) are also separate. The new environment has no ``sys.argv ``
9999 variable. It has new standard I/O stream file objects ``sys.stdin ``,
0 commit comments