File: pydoc.1.in

package info (click to toggle)
python2.4 2.4.6-1%2Blenny1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 44,888 kB
  • ctags: 86,995
  • sloc: ansic: 306,391; python: 271,931; sh: 10,210; makefile: 4,248; perl: 3,736; lisp: 3,678; xml: 894; objc: 756; cpp: 7; sed: 2
file content (53 lines) | stat: -rw-r--r-- 1,224 bytes parent folder | download | duplicates (32)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
.TH PYDOC@VER@ 1
.SH NAME
pydoc@VER@ \- the Python documentation tool
.SH SYNOPSIS
.PP
.B pydoc@VER@
.I name
.PP
.B pydoc@VER@ -k
.I keyword
.PP
.B pydoc@VER@ -p
.I port
.PP
.B pydoc@VER@ -g
.PP
.B pydoc@VER@ -w
.I module [...]
.SH DESCRIPTION
.PP
.B pydoc@VER@
.I name
Show text documentation on something.
.I name
may be the name of a
Python keyword, topic, function, module, or package, or a dotted
reference to a class or function within a module or module in a
package.  If
.I name
contains a '/', it is used as the path to a
Python source file to document. If name is 'keywords', 'topics',
or 'modules', a listing of these things is displayed.
.PP
.B pydoc@VER@ -k
.I keyword
Search for a keyword in the synopsis lines of all available modules.
.PP
.B pydoc@VER@ -p
.I port
Start an HTTP server on the given port on the local machine.
.PP
.B pydoc@VER@ -g
Pop up a graphical interface for finding and serving documentation.
.PP
.B pydoc@VER@ -w
.I name [...]
Write out the HTML documentation for a module to a file in the current
directory.  If
.I name
contains a '/', it is treated as a filename; if
it names a directory, documentation is written for all the contents.
.SH AUTHOR
Moshe Zadka, based on "pydoc --help"