blob: aa4d3e8900b4199d4cda24fd4c9925eac20d3450 [file] [log] [blame]
Fred Drake6659c301998-03-03 22:02:19 +00001\documentclass{manual}
Guido van Rossum19f1b821991-11-12 15:41:57 +00002
Guido van Rossum86751151995-02-28 17:14:32 +00003% NOTE: this file controls which chapters/sections of the library
4% manual are actually printed. It is easy to customize your manual
5% by commenting out sections that you're not interested in.
6
Guido van Rossum6938f061994-08-01 12:22:53 +00007\title{Python Library Reference}
Guido van Rossum515834a1991-01-22 11:45:29 +00008
Guido van Rossum16cd7f91994-10-06 10:29:26 +00009\input{boilerplate}
Guido van Rossum83eb9621993-11-23 16:28:45 +000010
Fred Drake7c30de62001-02-22 21:25:20 +000011\makeindex % tell \index to actually write the
12 % .idx file
13\makemodindex % ... and the module index as well.
Guido van Rossum6938f061994-08-01 12:22:53 +000014
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +000015
Guido van Rossum515834a1991-01-22 11:45:29 +000016\begin{document}
Guido van Rossum6938f061994-08-01 12:22:53 +000017
Guido van Rossum515834a1991-01-22 11:45:29 +000018\maketitle
19
Fred Drake9f86b661998-07-28 21:55:19 +000020\ifhtml
21\chapter*{Front Matter\label{front}}
22\fi
23
Guido van Rossum16cd7f91994-10-06 10:29:26 +000024\input{copyright}
25
Guido van Rossum515834a1991-01-22 11:45:29 +000026\begin{abstract}
27
28\noindent
Guido van Rossum2ddd9781995-03-30 16:01:33 +000029Python is an extensible, interpreted, object-oriented programming
30language. It supports a wide range of applications, from simple text
Fred Drake8ee679f2001-07-14 02:50:55 +000031processing scripts to interactive Web browsers.
Guido van Rossum2ddd9781995-03-30 16:01:33 +000032
Fred Drake37f15741999-11-10 16:21:37 +000033While the \citetitle[../ref/ref.html]{Python Reference Manual}
34describes the exact syntax and semantics of the language, it does not
35describe the standard library that is distributed with the language,
36and which greatly enhances its immediate usability. This library
37contains built-in modules (written in C) that provide access to system
38functionality such as file I/O that would otherwise be inaccessible to
39Python programmers, as well as modules written in Python that provide
40standardized solutions for many problems that occur in everyday
41programming. Some of these modules are explicitly designed to
42encourage and enhance the portability of Python programs.
Guido van Rossum2ddd9781995-03-30 16:01:33 +000043
44This library reference manual documents Python's standard library, as
45well as many optional library modules (which may or may not be
46available, depending on whether the underlying platform supports them
47and on the configuration choices made at compile time). It also
48documents the standard types of the language and its built-in
49functions and exceptions, many of which are not or incompletely
50documented in the Reference Manual.
51
52This manual assumes basic knowledge about the Python language. For an
Fred Drake37f15741999-11-10 16:21:37 +000053informal introduction to Python, see the
54\citetitle[../tut/tut.html]{Python Tutorial}; the
55\citetitle[../ref/ref.html]{Python Reference Manual} remains the
56highest authority on syntactic and semantic questions. Finally, the
57manual entitled \citetitle[../ext/ext.html]{Extending and Embedding
58the Python Interpreter} describes how to add new extensions to Python
59and how to embed it in other applications.
Guido van Rossum515834a1991-01-22 11:45:29 +000060
61\end{abstract}
62
Fred Drake4d4f9e71998-01-13 22:25:02 +000063\tableofcontents
Guido van Rossum515834a1991-01-22 11:45:29 +000064
Fred Drake7c30de62001-02-22 21:25:20 +000065 % Chapter title:
Guido van Rossum6938f061994-08-01 12:22:53 +000066
Fred Drake7c30de62001-02-22 21:25:20 +000067\input{libintro} % Introduction
Guido van Rossum6938f061994-08-01 12:22:53 +000068
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +000069
70% =============
71% BUILT-INs
72% =============
73
Thomas Wouters0e3f5912006-08-11 14:57:12 +000074\input{libobjs} % Built-in Exceptions and Functions
Fred Drakeb4ea9d02001-10-30 06:22:02 +000075\input{libfuncs}
Guido van Rossum6938f061994-08-01 12:22:53 +000076\input{libexcs}
Skip Montanaro1f041e72003-01-01 20:34:00 +000077\input{libconsts}
Guido van Rossum6938f061994-08-01 12:22:53 +000078
Thomas Wouters0e3f5912006-08-11 14:57:12 +000079\input{libstdtypes} % Built-in types
Guido van Rossumecde7811995-03-28 13:35:14 +000080
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +000081
82% =============
83% BASIC/GENERAL-PURPOSE OBJECTS
84% =============
85
86% Strings
Fred Drake7c30de62001-02-22 21:25:20 +000087\input{libstrings} % String Services
Guido van Rossumecde7811995-03-28 13:35:14 +000088\input{libstring}
Guido van Rossum9cb64801997-12-29 20:01:55 +000089\input{libre}
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +000090\input{libstruct} % XXX also/better in File Formats?
Fred Drake15bc4042001-02-19 16:32:40 +000091\input{libdifflib}
Fred Drake64e3b431998-07-24 13:56:11 +000092\input{libstringio}
Greg Wardae64f3ad2002-06-29 02:38:50 +000093\input{libtextwrap}
Fred Drake98f8a3d2000-04-06 14:25:28 +000094\input{libcodecs}
Fred Drakefb79ffa2000-06-13 20:51:29 +000095\input{libunicodedata}
Martin v. Löwis2548c732003-04-18 10:39:54 +000096\input{libstringprep}
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +000097\input{libfpformat}
Guido van Rossumecde7811995-03-28 13:35:14 +000098
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +000099
100\input{datatypes} % Data types and structures
101\input{libdatetime}
102\input{libcalendar}
Raymond Hettingerdd256d92004-01-29 07:35:45 +0000103\input{libcollections}
Guido van Rossum97512162002-08-02 18:03:24 +0000104\input{libheapq}
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +0000105\input{libbisect}
Guido van Rossumecde7811995-03-28 13:35:14 +0000106\input{libarray}
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +0000107\input{libsched}
108\input{libmutex}
109\input{libqueue}
110\input{libweakref}
111\input{libuserdict}
112
113% General object services
114% XXX intro
115\input{libtypes}
116\input{libnew}
117\input{libcopy}
118\input{libpprint}
119\input{librepr}
120
121
122\input{numeric} % Numeric/Mathematical modules
123\input{libmath}
124\input{libcmath}
125\input{libdecimal}
126\input{librandom}
127
128% Functions, Functional, Generators and Iterators
129% XXX intro functional
Raymond Hettinger96ef8112003-02-01 00:10:11 +0000130\input{libitertools}
Thomas Wouters4d70c3d2006-06-08 14:42:34 +0000131\input{libfunctools}
132\input{liboperator} % from runtime - better with itertools and functools
Guido van Rossumecde7811995-03-28 13:35:14 +0000133
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +0000134
135% =============
136% DATA FORMATS
137% =============
138
139% Big move - include all the markup and internet formats here
140
141% MIME & email stuff
142\input{netdata} % Internet Data Handling
143\input{email}
144\input{libmailcap}
145\input{libmailbox}
146\input{libmhlib}
147\input{libmimetools}
148\input{libmimetypes}
149\input{libmimewriter}
150\input{libmimify}
151\input{libmultifile}
152\input{librfc822}
153
154% encoding stuff
155\input{libbase64}
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +0000156\input{libbinhex}
Thomas Wouters0e3f5912006-08-11 14:57:12 +0000157\input{libbinascii}
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +0000158\input{libquopri}
159\input{libuu}
160
161\input{markup} % Structured Markup Processing Tools
162\input{libhtmlparser}
163\input{libsgmllib}
164\input{libhtmllib}
165\input{libpyexpat}
166\input{xmldom}
167\input{xmldomminidom}
168\input{xmldompulldom}
169\input{xmlsax}
170\input{xmlsaxhandler}
171\input{xmlsaxutils}
172\input{xmlsaxreader}
Thomas Wouters0e3f5912006-08-11 14:57:12 +0000173\input{libetree}
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +0000174
175\input{fileformats} % Miscellaneous file formats
176\input{libcsv}
177\input{libcfgparser}
178\input{librobotparser}
179\input{libnetrc}
180\input{libxdrlib}
181
182\input{libcrypto} % Cryptographic Services
183\input{libhashlib}
184\input{libhmac}
185\input{libmd5}
186\input{libsha}
187
188% =============
189% FILE & DATABASE STORAGE
190% =============
191
192\input{filesys} % File/directory support
Fred Drake7c30de62001-02-22 21:25:20 +0000193\input{libposixpath} % os.path
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +0000194\input{libfileinput}
Fred Drake5254a6d1999-04-22 15:01:44 +0000195\input{libstat}
Fred Drake4755e7d1999-06-21 18:25:49 +0000196\input{libstatvfs}
Fred Drakeadf2dbf1999-10-29 17:24:12 +0000197\input{libfilecmp}
Guido van Rossumdc46c7f1995-03-01 15:38:16 +0000198\input{libtempfile}
Guido van Rossumb6a80261997-03-25 22:09:18 +0000199\input{libglob}
Guido van Rossume76b7a81997-04-27 21:25:52 +0000200\input{libfnmatch}
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +0000201\input{liblinecache}
Fred Drake449e18f1998-12-28 20:16:58 +0000202\input{libshutil}
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +0000203\input{libdircache}
Guido van Rossumecde7811995-03-28 13:35:14 +0000204
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +0000205
206\input{archiving} % Data compression and archiving
Guido van Rossumdfb41201997-04-30 19:40:10 +0000207\input{libzlib}
Guido van Rossum0fcbe8d1997-07-17 16:27:42 +0000208\input{libgzip}
Gustavo Niemeyerf8ca8362002-11-05 16:50:05 +0000209\input{libbz2}
Fred Drake3c9f9362000-03-31 17:51:10 +0000210\input{libzipfile}
Neal Norwitz051314f2003-01-07 22:36:04 +0000211\input{libtarfile}
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +0000212
213
214\input{persistence} % Persistent storage
215\input{libpickle}
216\input{libcopyreg} % really copy_reg % from runtime...
217\input{libshelve}
218\input{libmarshal}
219\input{libanydbm}
220\input{libwhichdb}
221\input{libdbm}
222\input{libgdbm}
223\input{libdbhash}
224\input{libbsddb}
225\input{libdumbdbm}
Thomas Wouters477c8d52006-05-27 19:21:47 +0000226\input{libsqlite3}
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +0000227
228
229% =============
230% OS
231% =============
232
233
234\input{liballos} % Generic Operating System Services
235\input{libos}
236\input{libtime}
237\input{liboptparse}
238\input{libgetopt}
239\input{liblogging}
240\input{libgetpass}
241\input{libcurses}
242\input{libascii} % curses.ascii
243\input{libcursespanel}
244\input{libplatform}
245\input{liberrno}
Thomas Wouters477c8d52006-05-27 19:21:47 +0000246\input{libctypes}
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +0000247
248\input{libsomeos} % Optional Operating System Services
249\input{libselect}
250\input{libthread}
251\input{libthreading}
252\input{libdummythread}
253\input{libdummythreading}
254\input{libmmap}
Fred Drake14ea85f2000-07-06 04:47:25 +0000255\input{libreadline}
Fred Drake4755e7d1999-06-21 18:25:49 +0000256\input{librlcompleter}
Guido van Rossumecde7811995-03-28 13:35:14 +0000257
Fred Drake7c30de62001-02-22 21:25:20 +0000258\input{libunix} % UNIX Specific Services
Guido van Rossumecde7811995-03-28 13:35:14 +0000259\input{libposix}
Guido van Rossumecde7811995-03-28 13:35:14 +0000260\input{libpwd}
Martin v. Löwisc3001752005-01-23 09:27:24 +0000261\input{libspwd}
Guido van Rossumecde7811995-03-28 13:35:14 +0000262\input{libgrp}
Guido van Rossum5c6e3731996-04-10 16:18:20 +0000263\input{libcrypt}
Fred Drake44a7a7c1999-07-01 20:39:59 +0000264\input{libdl}
Guido van Rossumecde7811995-03-28 13:35:14 +0000265\input{libtermios}
Fred Drake1b2dc901999-06-23 17:29:02 +0000266\input{libtty}
Fred Drakeabc64b71999-06-29 18:12:22 +0000267\input{libpty}
Guido van Rossumecde7811995-03-28 13:35:14 +0000268\input{libfcntl}
Fred Drake4755e7d1999-06-21 18:25:49 +0000269\input{libpipes}
Guido van Rossumecde7811995-03-28 13:35:14 +0000270\input{libposixfile}
Guido van Rossum3c7b2dc1996-12-18 18:37:05 +0000271\input{libresource}
Fred Drakee4d78181999-06-27 15:02:37 +0000272\input{libnis}
Guido van Rossumfbe34fa1995-10-09 20:49:57 +0000273\input{libsyslog}
Fred Drake4fd12921997-06-12 16:05:46 +0000274\input{libcommands}
Guido van Rossumdf804f81995-03-02 12:38:39 +0000275
Guido van Rossumdf804f81995-03-02 12:38:39 +0000276
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +0000277% =============
278% NETWORK & COMMUNICATIONS
279% =============
280
281\input{ipc} % Interprocess communication/networking
282\input{libsubprocess}
283\input{libsocket}
284\input{libsignal}
285\input{libpopen2}
286\input{libasyncore}
287\input{libasynchat}
Guido van Rossum6938f061994-08-01 12:22:53 +0000288
Fred Drake7c30de62001-02-22 21:25:20 +0000289\input{internet} % Internet Protocols
Fred Drakee4dbb862000-07-07 03:36:12 +0000290\input{libwebbrowser}
Guido van Rossuma12ef941995-02-27 17:53:25 +0000291\input{libcgi}
Fred Draked2a557e2001-12-04 22:48:17 +0000292\input{libcgitb}
Thomas Wouters0e3f5912006-08-11 14:57:12 +0000293\input{libwsgiref}
Guido van Rossumcca8d2b1995-03-22 15:48:46 +0000294\input{liburllib}
Fred Drake7606e4d2001-03-01 19:54:29 +0000295\input{liburllib2}
Guido van Rossumcca8d2b1995-03-22 15:48:46 +0000296\input{libhttplib}
Guido van Rossum817a8421995-02-16 16:28:22 +0000297\input{libftplib}
298\input{libgopherlib}
Fred Drakea4684041998-04-24 20:49:02 +0000299\input{libpoplib}
Fred Drake1e0f8bf1998-04-11 04:27:07 +0000300\input{libimaplib}
Guido van Rossum817a8421995-02-16 16:28:22 +0000301\input{libnntplib}
Guido van Rossum8668e8e1998-06-28 17:55:53 +0000302\input{libsmtplib}
Fred Drake2363e8f2004-07-11 16:25:25 +0000303\input{libsmtpd}
Fred Drake658cef01999-03-15 15:44:18 +0000304\input{libtelnetlib}
Thomas Wouters0e3f5912006-08-11 14:57:12 +0000305\input{libuuid}
Guido van Rossum817a8421995-02-16 16:28:22 +0000306\input{liburlparse}
Fred Drakef44c4851998-08-07 15:58:31 +0000307\input{libsocksvr}
308\input{libbasehttp}
Fred Drakec46864e1999-06-14 19:49:50 +0000309\input{libsimplehttp}
310\input{libcgihttp}
Martin v. Löwis2a6ba902004-05-31 18:22:40 +0000311\input{libcookielib}
Fred Drake15446d32000-08-19 16:55:31 +0000312\input{libcookie}
Fred Drake7988e022001-09-28 22:03:40 +0000313\input{libxmlrpclib}
314\input{libsimplexmlrpc}
Martin v. Löwis281b2c62003-04-18 21:04:39 +0000315\input{libdocxmlrpc}
Fred Drakef44c4851998-08-07 15:58:31 +0000316
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +0000317% =============
318% MULTIMEDIA
319% =============
Fred Drakeb5316182000-07-05 02:24:39 +0000320
Fred Drake7c30de62001-02-22 21:25:20 +0000321\input{libmm} % Multimedia Services
Guido van Rossum6938f061994-08-01 12:22:53 +0000322\input{libaudioop}
323\input{libimageop}
Guido van Rossumecde7811995-03-28 13:35:14 +0000324\input{libaifc}
Fred Drakeaf81a501999-06-23 13:34:22 +0000325\input{libsunau}
Fred Drake26da2841999-06-17 15:12:16 +0000326\input{libwave}
Fred Drake707f8e61999-06-22 18:50:06 +0000327\input{libchunk}
Fred Drake4ae52691999-04-19 21:21:28 +0000328\input{libcolorsys}
Guido van Rossum6938f061994-08-01 12:22:53 +0000329\input{librgbimg}
Guido van Rossum40006cf1996-08-19 22:58:03 +0000330\input{libimghdr}
Fred Drake60adb361999-01-05 23:09:12 +0000331\input{libsndhdr}
Greg Ward41a28e32003-03-10 00:07:14 +0000332\input{libossaudiodev}
Guido van Rossum6938f061994-08-01 12:22:53 +0000333
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +0000334% Tkinter is a chapter in its own right.
Fred Drake53556862001-11-15 17:25:29 +0000335\input{tkinter}
Fred Drake53556862001-11-15 17:25:29 +0000336
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +0000337% % Internationalization
338\input{i18n}
339\input{libgettext}
340\input{liblocale}
341
342% =============
343% PROGRAM FRAMEWORKS
344% =============
345\input{frameworks}
346\input{libcmd}
347\input{libshlex}
348
349
350% =============
351% DEVELOPMENT TOOLS
352% =============
353% % Software development support
354\input{development}
355\input{libpydoc}
356\input{libdoctest}
357\input{libunittest}
358\input{libtest}
359
360\input{libpdb} % The Python Debugger
361
362\input{libprofile} % The Python Profiler
Armin Rigoa871ef22006-02-08 12:53:56 +0000363\input{libhotshot} % unmaintained C profiler
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +0000364\input{libtimeit}
Thomas Wouters477c8d52006-05-27 19:21:47 +0000365\input{libtrace}
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +0000366
367% =============
368% PYTHON ENGINE
369% =============
370
371% Runtime services
372\input{libpython} % Python Runtime Services
373\input{libsys}
374\input{libbltin} % really __builtin__
375\input{libmain} % really __main__
376\input{libwarnings}
Thomas Wouters49fd7fa2006-04-21 10:40:58 +0000377\input{libcontextlib}
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +0000378\input{libatexit}
379\input{libtraceback}
380\input{libfuture} % really __future__
381\input{libgc}
382\input{libinspect}
383\input{libsite}
384\input{libuser}
385\input{libfpectl}
386
387
388\input{custominterp} % Custom interpreter
389\input{libcode}
390\input{libcodeop}
Fred Drakeed13b4a2000-08-03 21:18:18 +0000391\input{librestricted} % Restricted Execution
392\input{librexec}
393\input{libbastion}
394
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +0000395
396\input{modules} % Importing Modules
397\input{libimp}
398\input{libzipimport}
399\input{libpkgutil}
400\input{libmodulefinder}
Thomas Wouters49fd7fa2006-04-21 10:40:58 +0000401\input{librunpy}
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +0000402
403
404% =============
405% PYTHON LANGUAGE & COMPILER
406% =============
407
Fred Drake7c30de62001-02-22 21:25:20 +0000408\input{language} % Python Language Services
Fred Drakeed13b4a2000-08-03 21:18:18 +0000409\input{libparser}
410\input{libsymbol}
411\input{libtoken}
412\input{libkeyword}
413\input{libtokenize}
414\input{libtabnanny}
415\input{libpyclbr}
Fred Drake7c30de62001-02-22 21:25:20 +0000416\input{libpycompile} % really py_compile
Fred Drakeed13b4a2000-08-03 21:18:18 +0000417\input{libcompileall}
418\input{libdis}
Andrew M. Kuchling8def8762004-08-07 16:53:59 +0000419\input{libpickletools}
Fred Draked61e3ea2001-07-24 16:20:13 +0000420\input{distutils}
Fred Drakeed13b4a2000-08-03 21:18:18 +0000421
Fred Drake33f4d6d2001-09-27 20:11:07 +0000422\input{compiler} % compiler package
Martin v. Löwis577b5b92006-02-27 15:23:19 +0000423\input{libast}
Fred Drake33f4d6d2001-09-27 20:11:07 +0000424
Andrew M. Kuchlingb164daf2005-12-22 20:34:09 +0000425\input{libmisc} % Miscellaneous Services
426\input{libformatter}
427
428% =============
429% OTHER PLATFORM-SPECIFIC STUFF
430% =============
431
Guido van Rossum0368b722007-05-11 16:50:42 +0000432% XXX(nnorwitz): all these modules (down to next comment) need to be (re)moved.
Fred Drake7c30de62001-02-22 21:25:20 +0000433%\input{libamoeba} % AMOEBA ONLY
Guido van Rossum6938f061994-08-01 12:22:53 +0000434
Fred Drake7c30de62001-02-22 21:25:20 +0000435%\input{libstdwin} % STDWIN ONLY
Guido van Rossum6938f061994-08-01 12:22:53 +0000436
Fred Drake9ea3e361999-01-20 15:55:20 +0000437\input{libjpeg}
Guido van Rossum6938f061994-08-01 12:22:53 +0000438%\input{libpanel}
439
Fred Drake7c30de62001-02-22 21:25:20 +0000440\input{libsun} % SUNOS ONLY
Fred Drake83c1a391998-02-19 18:59:48 +0000441\input{libsunaudio}
Guido van Rossum0368b722007-05-11 16:50:42 +0000442% XXX(nnorwitz): the modules below this comment should be kept.
Guido van Rossum6938f061994-08-01 12:22:53 +0000443
Fred Drake7c30de62001-02-22 21:25:20 +0000444\input{windows} % MS Windows ONLY
Thomas Wouters477c8d52006-05-27 19:21:47 +0000445\input{libmsilib}
Fred Drakec7b72db1999-02-16 19:18:38 +0000446\input{libmsvcrt}
Fred Draked1a65ff2000-06-07 04:07:48 +0000447\input{libwinreg}
Fred Drakec7b72db1999-02-16 19:18:38 +0000448\input{libwinsound}
449
Fred Drakeed773ef2000-09-21 21:35:22 +0000450\appendix
Guido van Rossum612316f1997-03-14 04:12:52 +0000451\input{libundoc}
Fred Drake36154b22001-02-01 05:21:46 +0000452
453%\chapter{Obsolete Modules}
454%\input{libcmpcache}
455%\input{libcmp}
456%\input{libni}
Fred Drake36154b22001-02-01 05:21:46 +0000457
Fred Drakeed773ef2000-09-21 21:35:22 +0000458\chapter{Reporting Bugs}
459\input{reportingbugs}
Guido van Rossum612316f1997-03-14 04:12:52 +0000460
Fred Draked5df09c2001-06-20 21:37:34 +0000461\chapter{History and License}
462\input{license}
463
Fred Drakef3aa0e01998-03-17 06:23:13 +0000464%
465% The ugly "%begin{latexonly}" pseudo-environments are really just to
466% keep LaTeX2HTML quiet during the \renewcommand{} macros; they're
467% not really valuable.
468%
Fred Drake0b1337d1998-01-02 02:59:09 +0000469
Fred Drakef3aa0e01998-03-17 06:23:13 +0000470%begin{latexonly}
471\renewcommand{\indexname}{Module Index}
472%end{latexonly}
Fred Drake7c30de62001-02-22 21:25:20 +0000473\input{modlib.ind} % Module Index
Fred Drakef3aa0e01998-03-17 06:23:13 +0000474
475%begin{latexonly}
Fred Drake0b1337d1998-01-02 02:59:09 +0000476\renewcommand{\indexname}{Index}
Fred Drakef3aa0e01998-03-17 06:23:13 +0000477%end{latexonly}
Fred Drake7c30de62001-02-22 21:25:20 +0000478\input{lib.ind} % Index
Guido van Rossum515834a1991-01-22 11:45:29 +0000479
480\end{document}