Mercurial > cpython-lru_cache-weakref
annotate Doc/lib/libpython.tex @ 7828:8f0e29ce59ef legacy-trunk
Capitalize "Python" for consistency.
Describe UserDict and UserList individually so they aren't too hideous in
the presentation.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Fri, 03 Apr 1998 07:10:41 +0000 |
| parents | b9e31120a0c4 |
| children | 49f1cf4b174c |
| rev | line source |
|---|---|
|
2609
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
1 \chapter{Python Services} |
|
7360
2a07258b1f4e
Added \label{} for logical addressing.
Fred Drake <fdrake@acm.org>
parents:
7249
diff
changeset
|
2 \label{python} |
|
2609
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
3 |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
4 The modules described in this chapter provide a wide range of services |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
5 related to the Python interpreter and its interaction with its |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
6 environment. Here's an overview: |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
7 |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
8 \begin{description} |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
9 |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
10 \item[sys] |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
11 --- Access system specific parameters and functions. |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
12 |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
13 \item[types] |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
14 --- Names for all built-in types. |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
15 |
|
7249
f0bb3bcf397b
Split UserDict and UserList on two separate lines; added entries for
Guido van Rossum <guido@python.org>
parents:
7245
diff
changeset
|
16 \item[UserDict] |
|
7828
8f0e29ce59ef
Capitalize "Python" for consistency.
Fred Drake <fdrake@acm.org>
parents:
7790
diff
changeset
|
17 --- Class wrapper for dictionary objects. |
|
8f0e29ce59ef
Capitalize "Python" for consistency.
Fred Drake <fdrake@acm.org>
parents:
7790
diff
changeset
|
18 |
|
7249
f0bb3bcf397b
Split UserDict and UserList on two separate lines; added entries for
Guido van Rossum <guido@python.org>
parents:
7245
diff
changeset
|
19 \item[UserList] |
|
7828
8f0e29ce59ef
Capitalize "Python" for consistency.
Fred Drake <fdrake@acm.org>
parents:
7790
diff
changeset
|
20 --- Class wrapper for list objects. |
|
5220
e1f613322b23
Added docs for UserDict,UserList
Guido van Rossum <guido@python.org>
parents:
3761
diff
changeset
|
21 |
|
6615
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
22 \item[operator] |
|
7828
8f0e29ce59ef
Capitalize "Python" for consistency.
Fred Drake <fdrake@acm.org>
parents:
7790
diff
changeset
|
23 --- All Python's standard operators as built-in functions. |
|
6615
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
24 |
|
2609
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
25 \item[traceback] |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
26 --- Print or retrieve a stack traceback. |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
27 |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
28 \item[pickle] |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
29 --- Convert Python objects to streams of bytes and back. |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
30 |
|
7149
7edc30df73f6
Add entry for copy_reg module.
Fred Drake <fdrake@acm.org>
parents:
6615
diff
changeset
|
31 \item[copy_reg] |
|
7360
2a07258b1f4e
Added \label{} for logical addressing.
Fred Drake <fdrake@acm.org>
parents:
7249
diff
changeset
|
32 --- Register \module{pickle} support functions. |
|
7149
7edc30df73f6
Add entry for copy_reg module.
Fred Drake <fdrake@acm.org>
parents:
6615
diff
changeset
|
33 |
|
2609
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
34 \item[shelve] |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
35 --- Python object persistency. |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
36 |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
37 \item[copy] |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
38 --- Shallow and deep copy operations. |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
39 |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
40 \item[marshal] |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
41 --- Convert Python objects to streams of bytes and back (with |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
42 different constraints). |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
43 |
|
7245
a71168649dc5
Swap ni and imp (so they are in the same order as their sections are).
Guido van Rossum <guido@python.org>
parents:
7149
diff
changeset
|
44 \item[imp] |
|
7360
2a07258b1f4e
Added \label{} for logical addressing.
Fred Drake <fdrake@acm.org>
parents:
7249
diff
changeset
|
45 --- Access the implementation of the \keyword{import} statement. |
|
7245
a71168649dc5
Swap ni and imp (so they are in the same order as their sections are).
Guido van Rossum <guido@python.org>
parents:
7149
diff
changeset
|
46 |
|
3761
e603601c68cf
added parser module to overview
Guido van Rossum <guido@python.org>
parents:
2609
diff
changeset
|
47 \item[parser] |
|
e603601c68cf
added parser module to overview
Guido van Rossum <guido@python.org>
parents:
2609
diff
changeset
|
48 --- Retrieve and submit parse trees from and to the runtime support |
|
e603601c68cf
added parser module to overview
Guido van Rossum <guido@python.org>
parents:
2609
diff
changeset
|
49 environment. |
|
e603601c68cf
added parser module to overview
Guido van Rossum <guido@python.org>
parents:
2609
diff
changeset
|
50 |
|
7249
f0bb3bcf397b
Split UserDict and UserList on two separate lines; added entries for
Guido van Rossum <guido@python.org>
parents:
7245
diff
changeset
|
51 \item[symbol] |
|
f0bb3bcf397b
Split UserDict and UserList on two separate lines; added entries for
Guido van Rossum <guido@python.org>
parents:
7245
diff
changeset
|
52 --- Constants representing internal nodes of the parse tree. |
|
f0bb3bcf397b
Split UserDict and UserList on two separate lines; added entries for
Guido van Rossum <guido@python.org>
parents:
7245
diff
changeset
|
53 |
|
f0bb3bcf397b
Split UserDict and UserList on two separate lines; added entries for
Guido van Rossum <guido@python.org>
parents:
7245
diff
changeset
|
54 \item[token] |
|
f0bb3bcf397b
Split UserDict and UserList on two separate lines; added entries for
Guido van Rossum <guido@python.org>
parents:
7245
diff
changeset
|
55 --- Constants representing terminal nodes of the parse tree. |
|
f0bb3bcf397b
Split UserDict and UserList on two separate lines; added entries for
Guido van Rossum <guido@python.org>
parents:
7245
diff
changeset
|
56 |
|
6615
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
57 \item[keyword] |
|
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
58 --- Test whether a string is a keyword in the Python language. |
|
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
59 |
|
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
60 \item[code] |
|
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
61 --- Code object services. |
|
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
62 |
|
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
63 \item[pprint] |
|
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
64 --- Data pretty printer. |
|
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
65 |
|
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
66 \item[dis] |
|
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
67 --- Disassembler. |
|
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
68 |
| 5262 | 69 \item[site] |
| 70 --- A standard way to reference site-specific modules. | |
| 71 | |
|
6615
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
72 \item[user] |
|
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
73 --- A standard way to reference user-specific modules. |
|
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
74 |
|
2609
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
75 \item[__builtin__] |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
76 --- The set of built-in functions. |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
77 |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
78 \item[__main__] |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
79 --- The environment where the top-level script is run. |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
80 |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
81 \end{description} |
