Mercurial > cpython-lru_cache-weakref
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 |
| rev | line source |
|---|---|
| 2570 | 1 \documentstyle[twoside,11pt,myformat]{report} |
| 446 | 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 | 10 \begin{document} |
| 11 | |
| 12 \pagenumbering{roman} | |
| 13 | |
| 14 \maketitle | |
| 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 | 18 \begin{abstract} |
| 19 | |
| 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 | 27 |
| 28 The Python interpreter is easily extended with new functions and data | |
| 29 types implemented in C. Python is also suitable as an extension | |
| 30 language for highly customizable C applications such as editors or | |
| 31 window managers. | |
| 32 | |
| 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 | 36 |
| 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 | 43 |
| 44 \end{abstract} | |
| 45 | |
| 46 \pagebreak | |
| 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 | 50 \tableofcontents |
|
605
6b3604159ca9
Another round of careful revisions.
Guido van Rossum <guido@python.org>
parents:
603
diff
changeset
|
51 } |
| 446 | 52 |
| 53 \pagebreak | |
| 54 | |
| 55 \pagenumbering{arabic} | |
| 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 | 68 \end{document} |
