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