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