annotate Doc/ref.tex @ 3720:b341def4eef8 legacy-trunk

Ignore latex intermediate products.
author Guido van Rossum <guido@python.org>
date Wed, 26 Jun 1996 19:30:01 +0000
parents 7c92d44fa6fc
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2570
8be4002b5086 forget about html.sty
Guido van Rossum <guido@python.org>
parents: 2562
diff changeset
1 \documentstyle[twoside,11pt,myformat]{report}
446
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
2
1751
ec25aad43724 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1412
diff changeset
3 \title{Python Reference Manual}
656
f6f982cb5401 Added stuff about classes and instances, plus some smaller changes.
Guido van Rossum <guido@python.org>
parents: 654
diff changeset
4
1934
f3ae7c17ac08 Moved author and date to boilerplate.tex.
Guido van Rossum <guido@python.org>
parents: 1767
diff changeset
5 \input{boilerplate}
1412
00f1e8864dcc * {lib,ref,ext,tut}.tex: added explicit \date{<date> \\ <release>}.
Guido van Rossum <guido@python.org>
parents: 1402
diff changeset
6
695
87ab9c81e927 Completed missing parts. Restructured ch. 3/4 to Data and Execution
Guido van Rossum <guido@python.org>
parents: 683
diff changeset
7 % Tell \index to actually write the .idx file
87ab9c81e927 Completed missing parts. Restructured ch. 3/4 to Data and Execution
Guido van Rossum <guido@python.org>
parents: 683
diff changeset
8 \makeindex
87ab9c81e927 Completed missing parts. Restructured ch. 3/4 to Data and Execution
Guido van Rossum <guido@python.org>
parents: 683
diff changeset
9
446
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
10 \begin{document}
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
11
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
12 \pagenumbering{roman}
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
13
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
14 \maketitle
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
15
1934
f3ae7c17ac08 Moved author and date to boilerplate.tex.
Guido van Rossum <guido@python.org>
parents: 1767
diff changeset
16 \input{copyright}
f3ae7c17ac08 Moved author and date to boilerplate.tex.
Guido van Rossum <guido@python.org>
parents: 1767
diff changeset
17
446
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
18 \begin{abstract}
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
19
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
20 \noindent
620
d1f6ec788acf Another large run of changes and additions.
Guido van Rossum <guido@python.org>
parents: 605
diff changeset
21 Python is a simple, yet powerful, interpreted programming language
d1f6ec788acf Another large run of changes and additions.
Guido van Rossum <guido@python.org>
parents: 605
diff changeset
22 that bridges the gap between C and shell programming, and is thus
d1f6ec788acf Another large run of changes and additions.
Guido van Rossum <guido@python.org>
parents: 605
diff changeset
23 ideally suited for ``throw-away programming'' and rapid prototyping.
d1f6ec788acf Another large run of changes and additions.
Guido van Rossum <guido@python.org>
parents: 605
diff changeset
24 Its syntax is put together from constructs borrowed from a variety of
d1f6ec788acf Another large run of changes and additions.
Guido van Rossum <guido@python.org>
parents: 605
diff changeset
25 other languages; most prominent are influences from ABC, C, Modula-3
d1f6ec788acf Another large run of changes and additions.
Guido van Rossum <guido@python.org>
parents: 605
diff changeset
26 and Icon.
446
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
27
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
28 The Python interpreter is easily extended with new functions and data
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
29 types implemented in C. Python is also suitable as an extension
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
30 language for highly customizable C applications such as editors or
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
31 window managers.
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
32
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
33 Python is available for various operating systems, amongst which
2628
7c92d44fa6fc update list of supported os-es
Guido van Rossum <guido@python.org>
parents: 2570
diff changeset
34 several flavors of {\UNIX} (including Linux), the Apple Macintosh O.S.,
7c92d44fa6fc update list of supported os-es
Guido van Rossum <guido@python.org>
parents: 2570
diff changeset
35 MS-DOS, MS-Windows 3.1, Windows NT, and OS/2.
446
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
36
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
37 This reference manual describes the syntax and ``core semantics'' of
620
d1f6ec788acf Another large run of changes and additions.
Guido van Rossum <guido@python.org>
parents: 605
diff changeset
38 the language. It is terse, but attempts to be exact and complete.
d1f6ec788acf Another large run of changes and additions.
Guido van Rossum <guido@python.org>
parents: 605
diff changeset
39 The semantics of non-essential built-in object types and of the
d1f6ec788acf Another large run of changes and additions.
Guido van Rossum <guido@python.org>
parents: 605
diff changeset
40 built-in functions and modules are described in the {\em Python
d1f6ec788acf Another large run of changes and additions.
Guido van Rossum <guido@python.org>
parents: 605
diff changeset
41 Library Reference}. For an informal introduction to the language, see
d1f6ec788acf Another large run of changes and additions.
Guido van Rossum <guido@python.org>
parents: 605
diff changeset
42 the {\em Python Tutorial}.
446
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
43
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
44 \end{abstract}
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
45
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
46 \pagebreak
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
47
605
6b3604159ca9 Another round of careful revisions.
Guido van Rossum <guido@python.org>
parents: 603
diff changeset
48 {
6b3604159ca9 Another round of careful revisions.
Guido van Rossum <guido@python.org>
parents: 603
diff changeset
49 \parskip = 0mm
446
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
50 \tableofcontents
605
6b3604159ca9 Another round of careful revisions.
Guido van Rossum <guido@python.org>
parents: 603
diff changeset
51 }
446
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
52
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
53 \pagebreak
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
54
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
55 \pagenumbering{arabic}
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
56
953
2b60832723c1 Added chapter titles in comments
Guido van Rossum <guido@python.org>
parents: 951
diff changeset
57 \include{ref1} % Introduction
2b60832723c1 Added chapter titles in comments
Guido van Rossum <guido@python.org>
parents: 951
diff changeset
58 \include{ref2} % Lexical analysis
2b60832723c1 Added chapter titles in comments
Guido van Rossum <guido@python.org>
parents: 951
diff changeset
59 \include{ref3} % Data model
2b60832723c1 Added chapter titles in comments
Guido van Rossum <guido@python.org>
parents: 951
diff changeset
60 \include{ref4} % Execution model
2b60832723c1 Added chapter titles in comments
Guido van Rossum <guido@python.org>
parents: 951
diff changeset
61 \include{ref5} % Expressions and conditions
2b60832723c1 Added chapter titles in comments
Guido van Rossum <guido@python.org>
parents: 951
diff changeset
62 \include{ref6} % Simple statements
2b60832723c1 Added chapter titles in comments
Guido van Rossum <guido@python.org>
parents: 951
diff changeset
63 \include{ref7} % Compound statements
2b60832723c1 Added chapter titles in comments
Guido van Rossum <guido@python.org>
parents: 951
diff changeset
64 \include{ref8} % Top-level components
981
9f1db556ffbc Use \input instead of \include (or \inclide)
Guido van Rossum <guido@python.org>
parents: 953
diff changeset
65
9f1db556ffbc Use \input instead of \include (or \inclide)
Guido van Rossum <guido@python.org>
parents: 953
diff changeset
66 \input{ref.ind}
695
87ab9c81e927 Completed missing parts. Restructured ch. 3/4 to Data and Execution
Guido van Rossum <guido@python.org>
parents: 683
diff changeset
67
446
c307d10b680c Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
68 \end{document}