Skip to content

Commit aea045a

Browse files
hakancelikdevblurb-it[bot]terryjreedy
authored
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>
1 parent 9f37872 commit aea045a

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Doc/library/pyclbr.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
:mod:`pyclbr` --- Python class browser support
2-
==============================================
1+
:mod:`pyclbr` --- Python module browser support
2+
===============================================
33

44
.. module:: pyclbr
5-
:synopsis: Supports information extraction for a Python class browser.
5+
:synopsis: Supports information extraction for a Python module browser.
66

77
.. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
88

@@ -29,6 +29,9 @@ modules.
2929
*path* is a sequence of directory paths prepended to ``sys.path``,
3030
which is used to locate the module source code.
3131

32+
This function is the original interface and is only kept for back
33+
compatibility. It returns a filtered version of the following.
34+
3235

3336
.. function:: readmodule_ex(module, path=None)
3437

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
In pyclbr doc, update 'class' to 'module' where appropriate and add readmodule comment.
2+
Patch by Hakan Çelik.

0 commit comments

Comments
 (0)