Skip to content

Commit e084f0b

Browse files
committed
Add description for some modules that have been added since this intro
section was last revised...
1 parent 3472026 commit e084f0b

2 files changed

Lines changed: 42 additions & 0 deletions

File tree

Doc/lib/libpython.tex

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ \chapter{Python Services}
1515
\item[UserDict, UserList]
1616
--- Class wrappers for dictionary and list objects.
1717

18+
\item[operator]
19+
--- All python's standard operators as built-in functions.
20+
1821
\item[traceback]
1922
--- Print or retrieve a stack traceback.
2023

@@ -31,16 +34,34 @@ \chapter{Python Services}
3134
--- Convert Python objects to streams of bytes and back (with
3235
different constraints).
3336

37+
\item[ni]
38+
--- New import (obsolete).
39+
3440
\item[imp]
3541
--- Access the implementation of the \code{import} statement.
3642

3743
\item[parser]
3844
--- Retrieve and submit parse trees from and to the runtime support
3945
environment.
4046

47+
\item[keyword]
48+
--- Test whether a string is a keyword in the Python language.
49+
50+
\item[code]
51+
--- Code object services.
52+
53+
\item[pprint]
54+
--- Data pretty printer.
55+
56+
\item[dis]
57+
--- Disassembler.
58+
4159
\item[site]
4260
--- A standard way to reference site-specific modules.
4361

62+
\item[user]
63+
--- A standard way to reference user-specific modules.
64+
4465
\item[__builtin__]
4566
--- The set of built-in functions.
4667

Doc/libpython.tex

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ \chapter{Python Services}
1515
\item[UserDict, UserList]
1616
--- Class wrappers for dictionary and list objects.
1717

18+
\item[operator]
19+
--- All python's standard operators as built-in functions.
20+
1821
\item[traceback]
1922
--- Print or retrieve a stack traceback.
2023

@@ -31,16 +34,34 @@ \chapter{Python Services}
3134
--- Convert Python objects to streams of bytes and back (with
3235
different constraints).
3336

37+
\item[ni]
38+
--- New import (obsolete).
39+
3440
\item[imp]
3541
--- Access the implementation of the \code{import} statement.
3642

3743
\item[parser]
3844
--- Retrieve and submit parse trees from and to the runtime support
3945
environment.
4046

47+
\item[keyword]
48+
--- Test whether a string is a keyword in the Python language.
49+
50+
\item[code]
51+
--- Code object services.
52+
53+
\item[pprint]
54+
--- Data pretty printer.
55+
56+
\item[dis]
57+
--- Disassembler.
58+
4159
\item[site]
4260
--- A standard way to reference site-specific modules.
4361

62+
\item[user]
63+
--- A standard way to reference user-specific modules.
64+
4465
\item[__builtin__]
4566
--- The set of built-in functions.
4667

0 commit comments

Comments
 (0)