blob: c11cb5b2a5294e6301f70bcba223b84fae6f164f [file] [log] [blame]
Guido van Rossum515834a1991-01-22 11:45:29 +00001% Format this file with latex.
2
Guido van Rossum19f1b821991-11-12 15:41:57 +00003\documentstyle[myformat]{report} % To preview with xdvi
4
5% Support to leave changebars in...
6\newcommand{\cbstart}{}
7\newcommand{\cbend}{}
Guido van Rossum515834a1991-01-22 11:45:29 +00008
Guido van Rossumd38b7641991-01-25 13:26:13 +00009% A command to force the text after an item to start on a new line
10\newcommand{\itembreak}{
11 \mbox{}\\*[0mm]
12}
Guido van Rossum515834a1991-01-22 11:45:29 +000013
Guido van Rossum8ec63501991-02-19 12:53:17 +000014% A command to define a function item
15\newcommand{\funcitem}[2]{\item[#1(#2)]}
16
Guido van Rossuma9d5c221991-04-23 14:11:26 +000017% A command to define a data item
18\newcommand{\dataitem}[1]{\item[#1]}
19
Guido van Rossum8ec63501991-02-19 12:53:17 +000020% A command to define an exception item
21\newcommand{\excitem}[2]{
22\item[#1 = {\tt '#2'}]
23\itembreak
24}
25
Guido van Rossum515834a1991-01-22 11:45:29 +000026\title{\bf
Guido van Rossuma9d5c221991-04-23 14:11:26 +000027 Python Library Reference
Guido van Rossum515834a1991-01-22 11:45:29 +000028}
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
Guido van Rossum481ae681991-11-25 17:28:03 +000046This document describes the built-in types, exceptions and functions
47and the standard modules that come with the Python system. It assumes
48basic knowledge about the Python language. For an informal
49introduction to the language, see the {\em Python Tutorial}. The {\em
50Python Reference Manual} gives a more formal definition of the
51language.
Guido van Rossum515834a1991-01-22 11:45:29 +000052
53\end{abstract}
54
55\pagebreak
56
57\tableofcontents
58
59\pagebreak
60
61\pagenumbering{arabic}
62
Guido van Rossum19f1b821991-11-12 15:41:57 +000063\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 Rossum515834a1991-01-22 11:45:29 +000068
69\end{document}