blob: c6cc9e454e76d14af36dcd6fcf7c02be02395188 [file] [log] [blame]
Georg Brandl116aa622007-08-15 14:28:22 +00001
2.. _builtin:
3
4****************
5Built-in Objects
6****************
7
8.. index::
9 pair: built-in; types
10 pair: built-in; exceptions
11 pair: built-in; functions
12 pair: built-in; constants
13 single: symbol table
14
15Names for built-in exceptions and functions and a number of constants are found
16in a separate symbol table. This table is searched last when the interpreter
17looks up the meaning of a name, so local and global user-defined names can
18override built-in names. Built-in types are described together here for easy
19reference. [#]_
20
21The tables in this chapter document the priorities of operators by listing them
22in order of ascending priority (within a table) and grouping operators that have
23the same priority in the same box. Binary operators of the same priority group
24from left to right. (Unary operators group from right to left, but there you
25have no real choice.) See :ref:`operator-summary` for the complete picture on
26operator priorities.
27
28.. rubric:: Footnotes
29
30.. [#] Most descriptions sorely lack explanations of the exceptions that may be raised
31 --- this will be fixed in a future version of this manual.
32