cpython/Doc/lib/libobjs.tex

25 lines
1.1 KiB
TeX
Raw Normal View History

1994-01-01 21:22:07 -04:00
\chapter{Built-in Types, Exceptions and Functions}
\nodename{Built-in Objects}
\label{builtin}
1994-01-01 21:22:07 -04:00
Names for built-in exceptions and functions are found in a separate
1995-04-04 09:29:37 -03:00
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
1995-04-04 09:29:37 -03:00
described together here for easy reference.%
\footnote{Most descriptions sorely lack explanations of the exceptions
1994-01-01 21:22:07 -04:00
that may be raised --- this will be fixed in a future version of
this manual.}
1994-01-01 21:22:07 -04:00
\indexii{built-in}{types}
\indexii{built-in}{exceptions}
\indexii{built-in}{functions}
\index{symbol table}
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 \emph{Python Reference Manual} for the
complete picture on operator priorities.