mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 01:02:09 +02:00
pydoc: add page (#10575)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
parent
f3ba2dad06
commit
923fc2c17f
1 changed files with 16 additions and 0 deletions
16
pages/common/pydoc.md
Normal file
16
pages/common/pydoc.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# pydoc
|
||||
|
||||
> Display offline Python documentation.
|
||||
> More information: <https://docs.python.org/3/library/pydoc.html>.
|
||||
|
||||
- Print documentation on a subject (Python keyword, topic, function, module, package, etc.):
|
||||
|
||||
`pydoc {{subject}}`
|
||||
|
||||
- Start an HTTP server on an arbitrary unused port and open a [b]rowser to see the documentation:
|
||||
|
||||
`pydoc -b`
|
||||
|
||||
- Display help:
|
||||
|
||||
`pydoc`
|
Loading…
Add table
Reference in a new issue