File: pydoc.1.in

package info (click to toggle)
python3.13 3.13.6-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 121,256 kB
  • sloc: python: 703,743; ansic: 653,888; xml: 31,250; sh: 5,844; cpp: 4,326; makefile: 1,981; objc: 787; lisp: 502; javascript: 213; asm: 75; csh: 12
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"