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 |
| 6 | symbol table. This table is searched last, so local and global |
| 7 | user-defined names can override built-in names. Built-in types have |
| 8 | no names but are created easily by constructing an object of the |
| 9 | desired type (e.g., using a literal) and applying the built-in |
| 10 | function \code{type()} to it. They are described together here for |
| 11 | easy reference.% |
| 12 | \footnote{Some descriptions sorely lack explanations of the exceptions |
| 13 | that may be raised --- this will be fixed in a future version of |
| 14 | this document.} |
| 15 | \indexii{built-in}{types} |
| 16 | \indexii{built-in}{exceptions} |
| 17 | \indexii{built-in}{functions} |
| 18 | \index{symbol table} |
| 19 | \bifuncindex{type} |