Skip to content
murmot

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

  • docs.python.org

    Reference Counting — Python 3.15.2 documentation

    For example, some objects are immortal and have a very high refcount that does not reflect the actual number of references. Consequently, do not rely on the returned value to be accurate, other than a value of 0 or 1. Use the Py_SET_REFCNT() function to set an object reference count.

  • 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

    9. Classes — Python 3.15.2 documentation

    “Directly accessible” here means that an unqualified reference to a name attempts to find the name in the namespace. ... The output of the example code is: After ...

  • 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

    Python Module Index — Python 3.15.2 documentation

    Generate byte-code files from Python source files. pyclbr. Supports information extraction for a Python module browser.Interface to the compiler's internal symbol tables. sys. Access system-specific parameters and functions.

  • docs.python.org

    symtable — Access to the compiler’s symbol tables - Python

    1 day ago · Symbol tables are generated by the compiler from AST just before bytecode is generated. The symbol table is responsible for calculating the scope of every identifier in the code. symtable provides an interface to examine these tables. Generating Symbol Tables ¶ symtable.symtable(code, filename, compile_type, *, module=None) ¶ Return the toplevel SymbolTable for the Python source code ...