
Built-in Functions — Python 3.14.2 documentation
2 days ago · fget is a function for getting an attribute value. fset is a function for setting an attribute value. fdel is a function for deleting an attribute value. And doc creates a docstring for …
5. Data Structures — Python 3.14.2 documentation
2 days ago · The list methods make it very easy to use a list as a stack, where the last element added is the first element retrieved (“last-in, first-out”). To add an item to the top of the stack, …
Sorting Techniques — Python 3.14.2 documentation
1 day ago · The list.sort() method and the functions sorted(), min(), max(), heapq.nsmallest(), and heapq.nlargest() have a key parameter to specify a function (or other callable) to be called on …
Numeric and Mathematical Modules — Python 3.14.2 …
1 day ago · The modules described in this chapter provide numeric and math-related functions and data types. The numbers module defines an abstract hierarchy of numeric types.
Functional Programming HOWTO — Python 3.14.2 documentation
Functional programming wants to avoid state changes as much as possible and works with data flowing between functions. In Python you might combine the two approaches by writing …
The Python Standard Library — Python 3.14.2 documentation
4 days ago · While The Python Language Reference describes the exact syntax and semantics of the Python language, this library reference manual describes the standard library that is …
threading — Thread-based parallelism — Python 3.14.2 …
1 day ago · Set a trace function for all threads started from the threading module and all Python threads that are currently executing. The func will be passed to sys.settrace() for each thread, …
Built-in Types — Python 3.14.2 documentation
2 days ago · Appending 'j' or 'J' to a numeric literal yields an imaginary number (a complex number with a zero real part) which you can add to an integer or float to get a complex number …
math — Mathematical functions — Python 3.14.2 documentation
3 days ago · This module provides access to common mathematical functions and constants, including those defined by the C standard. These functions cannot be used with complex …
enum — Support for enumerations — Python 3.14.2 documentation
2 days ago · While mutable/unhashable values, such as dict, list or a mutable dataclass, can be used, they will have a quadratic performance impact during creation relative to the total …