diff options
author | 2020-02-23 18:07:50 -0800 | |
---|---|---|
committer | 2020-02-23 18:07:50 -0800 | |
commit | d57f99929a4013741f14233ed6e517ad6c9b24d0 (patch) | |
tree | aeecd81313a0aa95942dc6ee6bf22a2b6df05258 | |
parent | [3.7] bpo-39427: Document -X opt options in the CLI --help and the man page (... (diff) | |
download | cpython-d57f99929a4013741f14233ed6e517ad6c9b24d0.tar.gz cpython-d57f99929a4013741f14233ed6e517ad6c9b24d0.tar.bz2 cpython-d57f99929a4013741f14233ed6e517ad6c9b24d0.zip |
bpo-39654: Update pyclbr doc to reflect additional information returned (GH-18528)
Full nested function and class info makes it a module browser.
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit aea045adb8c90394264908670cbc495c5a41b65e)
Co-authored-by: Hakan Çelik <hakancelik96@outlook.com>
-rw-r--r-- | Doc/library/pyclbr.rst | 9 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Documentation/2020-02-18-07-42-20.bpo-39654.MoT1jI.rst | 2 |
2 files changed, 8 insertions, 3 deletions
diff --git a/Doc/library/pyclbr.rst b/Doc/library/pyclbr.rst index b80a2faed9b..36e83e85c23 100644 --- a/Doc/library/pyclbr.rst +++ b/Doc/library/pyclbr.rst @@ -1,8 +1,8 @@ -:mod:`pyclbr` --- Python class browser support -============================================== +:mod:`pyclbr` --- Python module browser support +=============================================== .. module:: pyclbr - :synopsis: Supports information extraction for a Python class browser. + :synopsis: Supports information extraction for a Python module browser. .. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org> @@ -29,6 +29,9 @@ modules. *path* is a sequence of directory paths prepended to ``sys.path``, which is used to locate the module source code. + This function is the original interface and is only kept for back + compatibility. It returns a filtered version of the following. + .. function:: readmodule_ex(module, path=None) diff --git a/Misc/NEWS.d/next/Documentation/2020-02-18-07-42-20.bpo-39654.MoT1jI.rst b/Misc/NEWS.d/next/Documentation/2020-02-18-07-42-20.bpo-39654.MoT1jI.rst new file mode 100644 index 00000000000..cff201d8124 --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2020-02-18-07-42-20.bpo-39654.MoT1jI.rst @@ -0,0 +1,2 @@ +In pyclbr doc, update 'class' to 'module' where appropriate and add readmodule comment. +Patch by Hakan Çelik. |