| 
									
										
										
										
											1991-01-22 11:45:29 +00:00
										 |  |  | % Format this file with latex.
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											1991-02-19 12:53:17 +00:00
										 |  |  | %\documentstyle[garamond,11pt,myformat]{article}
 | 
					
						
							| 
									
										
										
										
											1991-01-25 13:26:13 +00:00
										 |  |  | \documentstyle[11pt,myformat]{article} | 
					
						
							| 
									
										
										
										
											1991-01-22 11:45:29 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											1991-01-25 13:26:13 +00:00
										 |  |  | % A command to force the text after an item to start on a new line
 | 
					
						
							|  |  |  | \newcommand{\itembreak}{ | 
					
						
							|  |  |  | 	\mbox{}\\*[0mm] | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											1991-01-22 11:45:29 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											1991-02-19 12:53:17 +00:00
										 |  |  | % A command to define a function item
 | 
					
						
							|  |  |  | \newcommand{\funcitem}[2]{\item[#1(#2)]} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											1991-04-23 14:11:26 +00:00
										 |  |  | % A command to define a data item
 | 
					
						
							|  |  |  | \newcommand{\dataitem}[1]{\item[#1]} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											1991-02-19 12:53:17 +00:00
										 |  |  | % A command to define an exception item
 | 
					
						
							|  |  |  | \newcommand{\excitem}[2]{ | 
					
						
							|  |  |  | \item[#1 = {\tt '#2'}] | 
					
						
							|  |  |  | \itembreak | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											1991-01-22 11:45:29 +00:00
										 |  |  | \title{\bf | 
					
						
							| 
									
										
										
										
											1991-04-23 14:11:26 +00:00
										 |  |  | 	Python Library Reference | 
					
						
							| 
									
										
										
										
											1991-01-22 11:45:29 +00:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | \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 Tutorial document. | 
					
						
							|  |  |  | The Language Reference document (XXX not yet existing) | 
					
						
							| 
									
										
										
										
											1991-04-23 14:11:26 +00:00
										 |  |  | gives a more formal definition of the language. | 
					
						
							| 
									
										
										
										
											1991-01-22 11:45:29 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | \end{abstract} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | \pagebreak | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | \tableofcontents | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | \pagebreak | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | \pagenumbering{arabic} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											1991-02-19 17:23:29 +00:00
										 |  |  | \input{mod1.tex} | 
					
						
							|  |  |  | \input{mod2.tex} | 
					
						
							|  |  |  | \input{mod3.tex} | 
					
						
							| 
									
										
										
										
											1991-01-22 11:45:29 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | \end{document} |