Built-in Types — Python 3.15.2 documentation
Some operations are supported by several object types; in particular, practically all objects can be compared for equality, tested for truth value, and ...
Some operations are supported by several object types; in particular, practically all objects can be compared for equality, tested for truth value, and ...
For many types, this function makes an attempt to return a string that would yield an object with the same value when passed to eval() ; otherwise, the ...
The Python interpreter has a number of functions and types built into it that are always available. They are listed here in alphabetical order.
This module defines an object type which can compactly represent an array of basic values: characters, integers, floating-point numbers, complex numbers.
In the following description, the quoted form is the format unit; the entry in (round) parentheses is the Python object type that matches the format unit; and ...
Converts the value (returned by get_field() ) given a conversion type (as in the tuple returned by the parse() method). The default version understands 's' (str) ...
... reference describes the built-in functions. Python's standard library is ... array — Efficient arrays of numeric values · weakref — Weak references · types ...
The list data type has some more methods. Here are all of the methods of list objects: ... Return zero-based index of the first occurrence of value in the list.