Built-in functions — Python 3.15.2 documentation
Code objects can be executed by exec() or eval() . source can either be a normal string, a byte string, or an AST object. Refer to the ast module documentation ...
Code objects can be executed by exec() or eval() . source can either be a normal string, a byte string, or an AST object. Refer to the ast module documentation ...
The Python interpreter has a number of functions and types built into it that are always available. They are listed here in alphabetical order.This function supports dynamic execution of Python code. object must be either a string or a code object.
append() (array.array method) · (collections.deque method) · (email.header ... free (C function) · free threading · free variable · free-threaded build ...
This instance of PyTypeObject represents the Python list type. This is the same object as list in the Python layer. int PyList_Check(PyObject *p)¶. Thread safety: Atomic.The following APIs are safe APIs before the list is fully initialized: PyList_SetItem() and PyList_SET_ITEM().
Editor, Hugo van Kemenade,. This article explains the new features in Python 3.15, compared to 3.14. Python 3.15 was released on 9 October 2026. For full ...
| Download Python 3.15 documentation. Last updated on: Dec 06, 2026 (07:21 UTC). Download an archive containing all the documentation for this version of Python
Source code: Lib/os.py This module provides a portable way of using operating system dependent functionality. If you just want to read or write a file see ...
Methods are functions that are called using the attribute notation. There are two flavors: built-in methods (such as append() on lists) and class instance method. Built-in methods are described with the types that support them.
When it's not possible to do that, Python 2.6 tries to do what it can, adding compatibility functions in a future_builtins module and a -3 switch to warn about ...
Methods are functions that are called using the attribute notation. There are two flavors: built-in methods (such as append() on lists) and class instance methods. Built-in methods are described with the types that support them.
Values can now be passed into generators (section PEP 342: New Generator Features). Imports are now visible as either absolute or relative (section PEP 328: ...
PEP 384: Defining a Stable ABI¶. In the past, extension modules built for one Python version were often not usable with other Python versions. Particularly on ...