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