Skip to content
murmot

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

  • docs.python.org

    Exception Handling — Python 3.15.2 documentation

    2 days ago · The functions described in this chapter will let you handle and raise Python exceptions. It is important to understand some of the basics of Python exception handling. It works somewhat like the PO...

  • 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

    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

    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

    5. Data Structures — Python 3.15.2 documentation

    1 day ago · 5. Data Structures ¶ This chapter describes some things you’ve learned about already in more detail, and adds some new things as well. 5.1. More on Lists ¶ The list data type has some more methods. Here are all of the methods of list objects: list.append(value, /) Add an item to the end of the list. Similar to a [len (a):] = [x]. list.extend(iterable, /) Extend the list by appending all ...

  • docs.python.org

    The Python standard library — Python 3.15.1 documentation

    Oct 22, 2026 · 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.