annotate Doc/lib/libpython.tex @ 7149:7edc30df73f6 legacy-trunk

Add entry for copy_reg module.
author Fred Drake <fdrake@acm.org>
date Wed, 21 Jan 1998 05:04:52 +0000
parents e54d5171902e
children a71168649dc5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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}
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
2
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
3 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
4 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
5 environment. Here's an overview:
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
6
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
7 \begin{description}
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
8
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
9 \item[sys]
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
10 --- Access system specific parameters and functions.
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
11
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
12 \item[types]
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
13 --- Names for all built-in types.
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
14
5220
e1f613322b23 Added docs for UserDict,UserList
Guido van Rossum <guido@python.org>
parents: 3761
diff changeset
15 \item[UserDict, UserList]
e1f613322b23 Added docs for UserDict,UserList
Guido van Rossum <guido@python.org>
parents: 3761
diff changeset
16 --- Class wrappers for dictionary and list objects.
e1f613322b23 Added docs for UserDict,UserList
Guido van Rossum <guido@python.org>
parents: 3761
diff changeset
17
6615
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
18 \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
19 --- 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
20
2609
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
21 \item[traceback]
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
22 --- Print or retrieve a stack traceback.
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
23
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
24 \item[pickle]
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
25 --- 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
26
7149
7edc30df73f6 Add entry for copy_reg module.
Fred Drake <fdrake@acm.org>
parents: 6615
diff changeset
27 \item[copy_reg]
7edc30df73f6 Add entry for copy_reg module.
Fred Drake <fdrake@acm.org>
parents: 6615
diff changeset
28 --- Register \code{pickle} support functions.
7edc30df73f6 Add entry for copy_reg module.
Fred Drake <fdrake@acm.org>
parents: 6615
diff changeset
29
2609
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
30 \item[shelve]
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
31 --- Python object persistency.
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
32
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
33 \item[copy]
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
34 --- Shallow and deep copy operations.
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
35
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
36 \item[marshal]
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
37 --- 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
38 different constraints).
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
39
6615
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
40 \item[ni]
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
41 --- New import (obsolete).
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
42
2609
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
43 \item[imp]
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
44 --- Access the implementation of the \code{import} statement.
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
45
3761
e603601c68cf added parser module to overview
Guido van Rossum <guido@python.org>
parents: 2609
diff changeset
46 \item[parser]
e603601c68cf added parser module to overview
Guido van Rossum <guido@python.org>
parents: 2609
diff changeset
47 --- 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
48 environment.
e603601c68cf added parser module to overview
Guido van Rossum <guido@python.org>
parents: 2609
diff changeset
49
6615
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
50 \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
51 --- 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
52
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
53 \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
54 --- 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
55
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
56 \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
57 --- 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
58
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
59 \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
60 --- Disassembler.
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
61
5262
5abc1a36bedd Added site
Guido van Rossum <guido@python.org>
parents: 5220
diff changeset
62 \item[site]
5abc1a36bedd Added site
Guido van Rossum <guido@python.org>
parents: 5220
diff changeset
63 --- A standard way to reference site-specific modules.
5abc1a36bedd Added site
Guido van Rossum <guido@python.org>
parents: 5220
diff changeset
64
6615
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
65 \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
66 --- 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
67
2609
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
68 \item[__builtin__]
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
69 --- The set of built-in functions.
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
70
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
71 \item[__main__]
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
72 --- 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
73
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
74 \end{description}