Show More
@@ -6,7 +6,7 b' Uses syntax highlighting for presenting the various information elements.' | |||||
6 | Similar in spirit to the inspect module, but all calls take a name argument to |
|
6 | Similar in spirit to the inspect module, but all calls take a name argument to | |
7 | reference the name under which an object is being read. |
|
7 | reference the name under which an object is being read. | |
8 |
|
8 | |||
9 |
$Id: OInspect.py 25 |
|
9 | $Id: OInspect.py 2584 2007-08-05 18:16:31Z fperez $ | |
10 | """ |
|
10 | """ | |
11 |
|
11 | |||
12 | #***************************************************************************** |
|
12 | #***************************************************************************** | |
@@ -470,7 +470,8 b' class Inspector:' | |||||
470 | # Skip Python's auto-generated docstrings |
|
470 | # Skip Python's auto-generated docstrings | |
471 | if class_ds and \ |
|
471 | if class_ds and \ | |
472 | (class_ds.startswith('function(code, globals[,') or \ |
|
472 | (class_ds.startswith('function(code, globals[,') or \ | |
473 |
class_ds.startswith('instancemethod(function, instance,') |
|
473 | class_ds.startswith('instancemethod(function, instance,') or \ | |
|
474 | class_ds.startswith('module(name[,') ): | |||
474 | class_ds = None |
|
475 | class_ds = None | |
475 | if class_ds and ds != class_ds: |
|
476 | if class_ds and ds != class_ds: | |
476 | out.writeln(header('Class Docstring:\n') + |
|
477 | out.writeln(header('Class Docstring:\n') + |
General Comments 0
You need to be logged in to leave comments.
Login now