comparison Doc/lib/libpython.tex @ 8716:760dcf197048 legacy-trunk

Adjusted to use the new module synopsis support macros.
author Fred Drake <fdrake@acm.org>
date Thu, 23 Jul 1998 17:59:49 +0000
parents 49f1cf4b174c
children 1e9d1cc2bc3f
comparison
equal deleted inserted replaced
8715:c750c7a21e03 8716:760dcf197048
3 3
4 The modules described in this chapter provide a wide range of services 4 The modules described in this chapter provide a wide range of services
5 related to the Python interpreter and its interaction with its 5 related to the Python interpreter and its interaction with its
6 environment. Here's an overview: 6 environment. Here's an overview:
7 7
8 \begin{description} 8 \localmoduletable
9
10 \item[sys]
11 --- Access system specific parameters and functions.
12
13 \item[types]
14 --- Names for all built-in types.
15
16 \item[UserDict]
17 --- Class wrapper for dictionary objects.
18
19 \item[UserList]
20 --- Class wrapper for list objects.
21
22 \item[operator]
23 --- All Python's standard operators as built-in functions.
24
25 \item[traceback]
26 --- Print or retrieve a stack traceback.
27
28 \item[pickle]
29 --- Convert Python objects to streams of bytes and back.
30
31 \item[cPickle]
32 --- Faster version of \module{pickle}, but not subclassable.
33
34 \item[copy_reg]
35 --- Register \module{pickle} support functions.
36
37 \item[shelve]
38 --- Python object persistency.
39
40 \item[copy]
41 --- Shallow and deep copy operations.
42
43 \item[marshal]
44 --- Convert Python objects to streams of bytes and back (with
45 different constraints).
46
47 \item[imp]
48 --- Access the implementation of the \keyword{import} statement.
49
50 \item[parser]
51 --- Retrieve and submit parse trees from and to the runtime support
52 environment.
53
54 \item[symbol]
55 --- Constants representing internal nodes of the parse tree.
56
57 \item[token]
58 --- Constants representing terminal nodes of the parse tree.
59
60 \item[keyword]
61 --- Test whether a string is a keyword in the Python language.
62
63 \item[code]
64 --- Code object services.
65
66 \item[pprint]
67 --- Data pretty printer.
68
69 \item[dis]
70 --- Disassembler.
71
72 \item[site]
73 --- A standard way to reference site-specific modules.
74
75 \item[user]
76 --- A standard way to reference user-specific modules.
77
78 \item[__builtin__]
79 --- The set of built-in functions.
80
81 \item[__main__]
82 --- The environment where the top-level script is run.
83
84 \end{description}