Built-in functions — Python 3.15.2 documentation
The arguments are an object and a string. The string must be the name of one of the object's attributes. The function deletes the named attribute, provided the ...
The arguments are an object and a string. The string must be the name of one of the object's attributes. The function deletes the named attribute, provided the ...
Language reference Syntax and language elements. Python setup and usage How to install, configure, and use Python. Python HOWTOs In-depth topic manuals. Installing Python modules Third-party modules and PyPI.org. Extending and embedding For C/C++ programmers.
Each function operates on its input and produces some output. Functional style discourages functions with side effects that modify internal state or make other ...
Source code: Lib/string/__init__.py String constants: The constants defined in this module are: Custom string formatting: The built-in string class provides ...
Source code: Lib/typing.py This module provides runtime support for type hints. Consider the function below: The function surface_area_of_cube takes an ...
... name of a method that is defined by the object's type. Different types ... string literals when they serve as module, class, or function docstrings.
The built-in function ord() converts a code point from its string form ... class method with the same name, for example, object.__setattr__(self, name ...