Guido van Rossum | 515834a | 1991-01-22 11:45:29 +0000 | [diff] [blame] | 1 | % Format this file with latex. |
| 2 | |
Guido van Rossum | 19f1b82 | 1991-11-12 15:41:57 +0000 | [diff] [blame] | 3 | \documentstyle[myformat]{report} % To preview with xdvi |
| 4 | |
| 5 | % Support to leave changebars in... |
| 6 | \newcommand{\cbstart}{} |
| 7 | \newcommand{\cbend}{} |
Guido van Rossum | 515834a | 1991-01-22 11:45:29 +0000 | [diff] [blame] | 8 | |
Guido van Rossum | d38b764 | 1991-01-25 13:26:13 +0000 | [diff] [blame] | 9 | % A command to force the text after an item to start on a new line |
| 10 | \newcommand{\itembreak}{ |
| 11 | \mbox{}\\*[0mm] |
| 12 | } |
Guido van Rossum | 515834a | 1991-01-22 11:45:29 +0000 | [diff] [blame] | 13 | |
Guido van Rossum | 8ec6350 | 1991-02-19 12:53:17 +0000 | [diff] [blame] | 14 | % A command to define a function item |
| 15 | \newcommand{\funcitem}[2]{\item[#1(#2)]} |
| 16 | |
Guido van Rossum | a9d5c22 | 1991-04-23 14:11:26 +0000 | [diff] [blame] | 17 | % A command to define a data item |
| 18 | \newcommand{\dataitem}[1]{\item[#1]} |
| 19 | |
Guido van Rossum | 8ec6350 | 1991-02-19 12:53:17 +0000 | [diff] [blame] | 20 | % A command to define an exception item |
| 21 | \newcommand{\excitem}[2]{ |
| 22 | \item[#1 = {\tt '#2'}] |
| 23 | \itembreak |
| 24 | } |
| 25 | |
Guido van Rossum | 515834a | 1991-01-22 11:45:29 +0000 | [diff] [blame] | 26 | \title{\bf |
Guido van Rossum | a9d5c22 | 1991-04-23 14:11:26 +0000 | [diff] [blame] | 27 | Python Library Reference |
Guido van Rossum | 515834a | 1991-01-22 11:45:29 +0000 | [diff] [blame] | 28 | } |
| 29 | |
| 30 | \author{ |
| 31 | Guido van Rossum \\ |
| 32 | Dept. CST, CWI, Kruislaan 413 \\ |
| 33 | 1098 SJ Amsterdam, The Netherlands \\ |
| 34 | E-mail: {\tt guido@cwi.nl} |
| 35 | } |
| 36 | |
| 37 | \begin{document} |
| 38 | |
| 39 | \pagenumbering{roman} |
| 40 | |
| 41 | \maketitle |
| 42 | |
| 43 | \begin{abstract} |
| 44 | |
| 45 | \noindent |
| 46 | This document describes the built-in types, exceptions and functions and |
Guido van Rossum | 4410c75 | 1991-06-04 20:22:18 +0000 | [diff] [blame] | 47 | the standard modules that come with the Python system. |
| 48 | It assumes basic knowledge about the Python language. |
Guido van Rossum | 515834a | 1991-01-22 11:45:29 +0000 | [diff] [blame] | 49 | For an informal introduction to the language, see the Tutorial document. |
| 50 | The Language Reference document (XXX not yet existing) |
Guido van Rossum | a9d5c22 | 1991-04-23 14:11:26 +0000 | [diff] [blame] | 51 | gives a more formal definition of the language. |
Guido van Rossum | 515834a | 1991-01-22 11:45:29 +0000 | [diff] [blame] | 52 | |
| 53 | \end{abstract} |
| 54 | |
| 55 | \pagebreak |
| 56 | |
| 57 | \tableofcontents |
| 58 | |
| 59 | \pagebreak |
| 60 | |
| 61 | \pagenumbering{arabic} |
| 62 | |
Guido van Rossum | 19f1b82 | 1991-11-12 15:41:57 +0000 | [diff] [blame] | 63 | \input{lib1.tex} % intro; built-in types, functions and exceptions |
| 64 | \input{lib2.tex} % built-in modules |
| 65 | \input{lib3.tex} % standard modules |
| 66 | \input{lib4.tex} % OS-dependent appendixes |
| 67 | \input{lib5.tex} % Graphics appendixes |
Guido van Rossum | 515834a | 1991-01-22 11:45:29 +0000 | [diff] [blame] | 68 | |
| 69 | \end{document} |