blob: d19697b9165e1ffac8cc00780b2330523a9285bf [file] [log] [blame]
Guido van Rossum5fdeeea1994-01-02 01:22:07 +00001\chapter{Built-in Types, Exceptions and Functions}
Guido van Rossum5fdeeea1994-01-02 01:22:07 +00002\nodename{Built-in Objects}
Fred Drakeea8006a1998-02-19 14:00:22 +00003\label{builtin}
Guido van Rossum5fdeeea1994-01-02 01:22:07 +00004
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
Fred Drakeea003fc1999-04-05 21:59:15 +00009described together here for easy reference.\footnote{
10 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}
Guido van Rossumecde7811995-03-28 13:35:14 +000017
18The tables in this chapter document the priorities of operators by
19listing them in order of ascending priority (within a table) and
20grouping operators that have the same priority in the same box.
21Binary operators of the same priority group from left to right.
22(Unary operators group from right to left, but there you have no real
Fred Drakecbe50f41998-01-20 05:12:36 +000023choice.) See Chapter 5 of the \emph{Python Reference Manual} for the
Guido van Rossumecde7811995-03-28 13:35:14 +000024complete picture on operator priorities.