pydoc: add page (#10575)

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
pull/23/head
Managor 2023-08-08 01:57:27 +03:00 committed by GitHub
parent f3ba2dad06
commit 923fc2c17f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

16
pages/common/pydoc.md Normal file
View 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`