1994-01-02 02:22:07 +01:00
|
|
|
\chapter{Built-in Types, Exceptions and Functions}
|
|
|
|
|
|
|
|
\nodename{Built-in Objects}
|
|
|
|
|
|
|
|
Names for built-in exceptions and functions are found in a separate
|
1995-04-04 14:29:37 +02:00
|
|
|
symbol table. This table is searched last when the interpreter looks
|
|
|
|
up the meaning of a name, so local and global
|
1995-03-28 15:35:14 +02:00
|
|
|
user-defined names can override built-in names. Built-in types are
|
1995-04-04 14:29:37 +02:00
|
|
|
described together here for easy reference.%
|
1995-03-28 15:35:14 +02:00
|
|
|
\footnote{Most descriptions sorely lack explanations of the exceptions
|
1994-01-02 02:22:07 +01:00
|
|
|
that may be raised --- this will be fixed in a future version of
|
1995-03-28 15:35:14 +02:00
|
|
|
this manual.}
|
1994-01-02 02:22:07 +01:00
|
|
|
\indexii{built-in}{types}
|
|
|
|
\indexii{built-in}{exceptions}
|
|
|
|
\indexii{built-in}{functions}
|
|
|
|
\index{symbol table}
|
|
|
|
\bifuncindex{type}
|
1995-03-28 15:35:14 +02:00
|
|
|
|
|
|
|
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 Chapter 5 of the Python Reference Manual for the
|
|
|
|
complete picture on operator priorities.
|