Skip to content
murmot

Results for “python function reference table example code error script site:docs.python.org”

  • docs.python.org

    Descriptor Guide — Python 3.15.2 documentation

    ORM example ¶. The following code is a simplified skeleton showing how data descriptors could be used to implement an object relational mapping. The essential idea is that the data is stored in an external database. The Python instances only hold keys to the database’s tables.

  • docs.python.org

    Python 3.15.2 documentation

    1 day ago · What's new in Python 3.15? Or all "What's new" documents since Python 2.0 Tutorial Start here: a tour of Python's syntax and features Built-ins reference Built-in functions and classes Library reference Standard library modules Language reference Syntax and language elements Python setup and usage How to install, configure, and use Python ...

  • docs.python.org

    4. More Control Flow Tools — Python 3.15.2 documentation

    A function definition associates the function name with the function object in the current symbol table.This example, as usual, demonstrates some new Python features: The return statement returns with a value from a function. return without an expression argument returns None.

  • 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

    dis — Disassembler for Python bytecode — Python 3.11.18...

    Table of Contents. dis — Disassembler for Python bytecode.dis.code_info(x)¶. Return a formatted multi-line string with detailed code object information for the supplied function, generator, asynchronous generator, coroutine, method, source code string or code object.

  • docs.python.org

    6. Modules — Python 3.15.2 documentation

    6.1.1. Executing modules as scripts. 6.1.2. The Module Search Path. 6.1.3. “Compiled” Python files. 6.2. Standard Modules. 6.3. The dir() Function. 6.4. Packages. 6.4.1. Importing * From a Package. 6.4.2. Intra-package References. Previous topic.

  • docs.python.org

    pdb — The Python Debugger — Python 3.15.2 documentation

    1 day ago · pdb — The Python Debugger ¶ Source code: Lib/pdb.py The module pdb defines an interactive source code debugger for Python programs. It supports setting (conditional) breakpoints and single stepping at the source line level, inspection of stack frames, source code listing, and evaluation of arbitrary Python code in the context of any stack frame.

  • 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.