summaryrefslogtreecommitdiffstats
path: root/Doc/lib.tex
blob: c11cb5b2a5294e6301f70bcba223b84fae6f164f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
% Format this file with latex.

\documentstyle[myformat]{report}		% To preview with xdvi

% Support to leave changebars in...
\newcommand{\cbstart}{}
\newcommand{\cbend}{}

% A command to force the text after an item to start on a new line
\newcommand{\itembreak}{
	\mbox{}\\*[0mm]
}

% A command to define a function item
\newcommand{\funcitem}[2]{\item[#1(#2)]}

% A command to define a data item
\newcommand{\dataitem}[1]{\item[#1]}

% A command to define an exception item
\newcommand{\excitem}[2]{
\item[#1 = {\tt '#2'}]
\itembreak
}

\title{\bf
	Python Library Reference
}

\author{
	Guido van Rossum \\
	Dept. CST, CWI, Kruislaan 413 \\
	1098 SJ Amsterdam, The Netherlands \\
	E-mail: {\tt guido@cwi.nl}
}

\begin{document}

\pagenumbering{roman}

\maketitle

\begin{abstract}

\noindent
This document describes the built-in types, exceptions and functions
and the standard modules that come with the Python system.  It assumes
basic knowledge about the Python language.  For an informal
introduction to the language, see the {\em Python Tutorial}.  The {\em
Python Reference Manual} gives a more formal definition of the
language.

\end{abstract}

\pagebreak

\tableofcontents

\pagebreak

\pagenumbering{arabic}

\input{lib1.tex}	% intro; built-in types, functions and exceptions
\input{lib2.tex}	% built-in modules
\input{lib3.tex}	% standard modules
\input{lib4.tex}	% OS-dependent appendixes
\input{lib5.tex}	% Graphics appendixes

\end{document}