blob: b4dd409c6db11d06d439a186569ac97b1494f294 [file] [log] [blame]
Guido van Rossum5fdeeea1994-01-02 01:22:07 +00001\chapter{Built-in Types, Exceptions and Functions}
2
3\nodename{Built-in Objects}
4
5Names for built-in exceptions and functions are found in a separate
Guido van Rossum02ee80d1995-04-04 12:29:37 +00006symbol table. This table is searched last when the interpreter looks
7up the meaning of a name, so local and global
Guido van Rossumecde7811995-03-28 13:35:14 +00008user-defined names can override built-in names. Built-in types are
Guido van Rossum02ee80d1995-04-04 12:29:37 +00009described together here for easy reference.%
Guido van Rossumecde7811995-03-28 13:35:14 +000010\footnote{Most descriptions sorely lack explanations of the exceptions
Guido van Rossum5fdeeea1994-01-02 01:22:07 +000011 that may be raised --- this will be fixed in a future version of
Guido van Rossumecde7811995-03-28 13:35:14 +000012 this manual.}
Guido van Rossum5fdeeea1994-01-02 01:22:07 +000013\indexii{built-in}{types}
14\indexii{built-in}{exceptions}
15\indexii{built-in}{functions}
16\index{symbol table}
17\bifuncindex{type}
Guido van Rossumecde7811995-03-28 13:35:14 +000018
19The tables in this chapter document the priorities of operators by
20listing them in order of ascending priority (within a table) and
21grouping operators that have the same priority in the same box.
22Binary operators of the same priority group from left to right.
23(Unary operators group from right to left, but there you have no real
24choice.) See Chapter 5 of the Python Reference Manual for the
25complete picture on operator priorities.