summaryrefslogtreecommitdiffstats
path: root/Doc/library/objects.rst
blob: c6cc9e454e76d14af36dcd6fcf7c02be02395188 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

.. _builtin:

****************
Built-in Objects
****************

.. index::
   pair: built-in; types
   pair: built-in; exceptions
   pair: built-in; functions
   pair: built-in; constants
   single: symbol table

Names for built-in exceptions and functions and a number of constants are found
in a separate  symbol table.  This table is searched last when the interpreter
looks up the meaning of a name, so local and global user-defined names can
override built-in names.  Built-in types are described together here for easy
reference. [#]_

The tables in this chapter document the priorities of operators by listing them
in order of ascending priority (within a table) and grouping operators that have
the same priority in the same box. Binary operators of the same priority group
from left to right. (Unary operators group from right to left, but there you
have no real choice.)  See :ref:`operator-summary` for the complete picture on
operator priorities.

.. rubric:: Footnotes

.. [#] Most descriptions sorely lack explanations of the exceptions that may be raised
   --- this will be fixed in a future version of this manual.