Mercurial > cpython-lru_cache-weakref
annotate Doc/lib/libpython.tex @ 7790:b9e31120a0c4 legacy-trunk
Removed references to ni.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Thu, 02 Apr 1998 18:45:09 +0000 |
| parents | 2a07258b1f4e |
| children | 8f0e29ce59ef |
| 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] |
|
f0bb3bcf397b
Split UserDict and UserList on two separate lines; added entries for
Guido van Rossum <guido@python.org>
parents:
7245
diff
changeset
|
17 \item[UserList] |
|
5220
e1f613322b23
Added docs for UserDict,UserList
Guido van Rossum <guido@python.org>
parents:
3761
diff
changeset
|
18 --- Class wrappers for dictionary and list objects. |
|
e1f613322b23
Added docs for UserDict,UserList
Guido van Rossum <guido@python.org>
parents:
3761
diff
changeset
|
19 |
|
6615
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
20 \item[operator] |
|
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
21 --- All python's standard operators as built-in functions. |
|
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
22 |
|
2609
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
23 \item[traceback] |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
24 --- Print or retrieve a stack traceback. |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
25 |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
26 \item[pickle] |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
27 --- 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
|
28 |
|
7149
7edc30df73f6
Add entry for copy_reg module.
Fred Drake <fdrake@acm.org>
parents:
6615
diff
changeset
|
29 \item[copy_reg] |
|
7360
2a07258b1f4e
Added \label{} for logical addressing.
Fred Drake <fdrake@acm.org>
parents:
7249
diff
changeset
|
30 --- Register \module{pickle} support functions. |
|
7149
7edc30df73f6
Add entry for copy_reg module.
Fred Drake <fdrake@acm.org>
parents:
6615
diff
changeset
|
31 |
|
2609
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
32 \item[shelve] |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
33 --- Python object persistency. |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
34 |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
35 \item[copy] |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
36 --- Shallow and deep copy operations. |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
37 |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
38 \item[marshal] |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
39 --- 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
|
40 different constraints). |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
41 |
|
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
|
42 \item[imp] |
|
7360
2a07258b1f4e
Added \label{} for logical addressing.
Fred Drake <fdrake@acm.org>
parents:
7249
diff
changeset
|
43 --- 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
|
44 |
|
3761
e603601c68cf
added parser module to overview
Guido van Rossum <guido@python.org>
parents:
2609
diff
changeset
|
45 \item[parser] |
|
e603601c68cf
added parser module to overview
Guido van Rossum <guido@python.org>
parents:
2609
diff
changeset
|
46 --- 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
|
47 environment. |
|
e603601c68cf
added parser module to overview
Guido van Rossum <guido@python.org>
parents:
2609
diff
changeset
|
48 |
|
7249
f0bb3bcf397b
Split UserDict and UserList on two separate lines; added entries for
Guido van Rossum <guido@python.org>
parents:
7245
diff
changeset
|
49 \item[symbol] |
|
f0bb3bcf397b
Split UserDict and UserList on two separate lines; added entries for
Guido van Rossum <guido@python.org>
parents:
7245
diff
changeset
|
50 --- 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
|
51 |
|
f0bb3bcf397b
Split UserDict and UserList on two separate lines; added entries for
Guido van Rossum <guido@python.org>
parents:
7245
diff
changeset
|
52 \item[token] |
|
f0bb3bcf397b
Split UserDict and UserList on two separate lines; added entries for
Guido van Rossum <guido@python.org>
parents:
7245
diff
changeset
|
53 --- 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
|
54 |
|
6615
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
55 \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
|
56 --- 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
|
57 |
|
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
58 \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
|
59 --- 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
|
60 |
|
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
61 \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
|
62 --- 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
|
63 |
|
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
64 \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
|
65 --- Disassembler. |
|
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
66 |
| 5262 | 67 \item[site] |
| 68 --- A standard way to reference site-specific modules. | |
| 69 | |
|
6615
e54d5171902e
Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents:
5262
diff
changeset
|
70 \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
|
71 --- 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
|
72 |
|
2609
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
73 \item[__builtin__] |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
74 --- The set of built-in functions. |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
75 |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
76 \item[__main__] |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
77 --- 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
|
78 |
|
7ef72873e4d6
restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
79 \end{description} |
