Skip to content
murmot

Results for “python function reference type example code find site:docs.python.org google”

  • docs.python.org

    Built-in Types — Python 3.15.2 documentation

    The following sections describe the standard types that are built into the interpreter. The principal built-in types are numerics, sequences, mappings, classes, instances and exceptions.

  • docs.python.org

    The Python Language Reference — Python 3.15.2 documentation

    1 day ago · The Python Language Reference ¶ This reference manual describes the syntax and core semantics of the language. It is terse, but attempts to be exact and complete. Elsewhere, the built-in object types and functions are described in Python built-ins reference. Standard library modules are described in The Python standard library.

  • docs.python.org

    Python built-ins reference — Python 3.15.2 documentation

    1 day ago · Python built-ins reference ¶ Python comes with a number of built-in functions and classes. The built-in classes include data types that would normally be considered part of the “core” of a language, such as numbers and lists.

  • docs.python.org

    6. Expressions — Python 3.13.18 documentation

    For a reference example of a finalizer method see the implementation of asyncio.Loop.shutdown_asyncgens in Lib/asyncio/base_events.py.The code block for the function is executed, passing it the argument list.

  • docs.python.org

    Object Protocol — Python 3.15.2 documentation

    Python/C API reference manual ». Abstract Objects Layer ». Object Protocol.The output format may change at any time. Example of output: object address : 0x7f80124702c0 object refcount : 2 object type : 0x9902e0 object type name: str object repr : 'abcdef'. Added in version 3.15.

  • docs.python.org

    Function Objects — Python 3.15.2 documentation

    4 days ago · Function Objects ¶ There are a few functions specific to Python functions. type PyFunctionObject ¶ The C structure used for functions. In the free-threaded build, direct access to mutable fields requires synchronization if another thread may modify the function. See C API Extension Support for Free Threading. PyTypeObject PyFunction_Type ¶ This is an instance of PyTypeObject and represents ...

  • docs.python.org

    The Python standard library — Python 3.15.2 documentation

    1 day ago · Elsewhere, The Python Language Reference describes the exact syntax and semantics of the Python language, and Python built-ins reference describes the built-in functions. Python’s standard library is extensive, offering a wide range of facilities as indicated by the long table of contents listed below.