blob: e63fa7c3d60bb3eb6003f1b851c01f96e8343b8b [file] [log] [blame]
Guido van Rossum55dd1131995-03-17 15:59:41 +00001\documentstyle[twoside,11pt,myformat]{report}
Guido van Rossumf2612d11991-11-21 13:53:03 +00002
Guido van Rossum6938f061994-08-01 12:22:53 +00003\title{Python Reference Manual}
Guido van Rossum862c6f11992-01-29 14:47:05 +00004
Guido van Rossum16cd7f91994-10-06 10:29:26 +00005\input{boilerplate}
Guido van Rossum83eb9621993-11-23 16:28:45 +00006
Guido van Rossumb5e1c181992-03-06 10:52:59 +00007% Tell \index to actually write the .idx file
8\makeindex
9
Guido van Rossumf2612d11991-11-21 13:53:03 +000010\begin{document}
11
12\pagenumbering{roman}
13
14\maketitle
15
Guido van Rossum16cd7f91994-10-06 10:29:26 +000016\input{copyright}
17
Guido van Rossumf2612d11991-11-21 13:53:03 +000018\begin{abstract}
19
20\noindent
Guido van Rossum0f1f9da1992-01-20 17:10:21 +000021Python is a simple, yet powerful, interpreted programming language
22that bridges the gap between C and shell programming, and is thus
23ideally suited for ``throw-away programming'' and rapid prototyping.
24Its syntax is put together from constructs borrowed from a variety of
25other languages; most prominent are influences from ABC, C, Modula-3
26and Icon.
Guido van Rossumf2612d11991-11-21 13:53:03 +000027
28The Python interpreter is easily extended with new functions and data
29types implemented in C. Python is also suitable as an extension
30language for highly customizable C applications such as editors or
31window managers.
32
33Python is available for various operating systems, amongst which
Guido van Rossum93dda331995-04-04 11:57:22 +000034several flavors of {\UNIX} (including Linux), the Apple Macintosh O.S.,
35MS-DOS, MS-Windows 3.1, Windows NT, and OS/2.
Guido van Rossumf2612d11991-11-21 13:53:03 +000036
37This reference manual describes the syntax and ``core semantics'' of
Guido van Rossum0f1f9da1992-01-20 17:10:21 +000038the language. It is terse, but attempts to be exact and complete.
39The semantics of non-essential built-in object types and of the
40built-in functions and modules are described in the {\em Python
41Library Reference}. For an informal introduction to the language, see
42the {\em Python Tutorial}.
Guido van Rossumf2612d11991-11-21 13:53:03 +000043
44\end{abstract}
45
46\pagebreak
47
Guido van Rossum670e5a01992-01-17 14:03:20 +000048{
49\parskip = 0mm
Guido van Rossumf2612d11991-11-21 13:53:03 +000050\tableofcontents
Guido van Rossum670e5a01992-01-17 14:03:20 +000051}
Guido van Rossumf2612d11991-11-21 13:53:03 +000052
53\pagebreak
54
55\pagenumbering{arabic}
56
Guido van Rossum2670a161992-08-14 09:20:21 +000057\include{ref1} % Introduction
58\include{ref2} % Lexical analysis
59\include{ref3} % Data model
60\include{ref4} % Execution model
61\include{ref5} % Expressions and conditions
62\include{ref6} % Simple statements
63\include{ref7} % Compound statements
64\include{ref8} % Top-level components
Guido van Rossum0e389af1992-08-19 16:54:06 +000065
66\input{ref.ind}
Guido van Rossumb5e1c181992-03-06 10:52:59 +000067
Guido van Rossumf2612d11991-11-21 13:53:03 +000068\end{document}