1994-01-02 02:22:07 +01:00
|
|
|
\chapter{Built-in Types, Exceptions and Functions}
|
|
|
|
\nodename{Built-in Objects}
|
1998-02-19 15:00:22 +01:00
|
|
|
\label{builtin}
|
1994-01-02 02:22:07 +01:00
|
|
|
|
|
|
|
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
|
1999-04-05 23:59:15 +02:00
|
|
|
described together here for easy reference.\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}
|
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
|
1998-01-20 06:12:36 +01:00
|
|
|
choice.) See Chapter 5 of the \emph{Python Reference Manual} for the
|
1995-03-28 15:35:14 +02:00
|
|
|
complete picture on operator priorities.
|