projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34e9fc2
)
#10549: fix interface of docclass() for text documenter.
author
Georg Brandl
<georg@python.org>
Fri, 3 Dec 2010 09:58:38 +0000
(09:58 +0000)
committer
Georg Brandl
<georg@python.org>
Fri, 3 Dec 2010 09:58:38 +0000
(09:58 +0000)
Lib/pydoc.py
patch
|
blob
|
history
Misc/NEWS
patch
|
blob
|
history
diff --git
a/Lib/pydoc.py
b/Lib/pydoc.py
index 282fe15ec982aee2771927bf15d2eb39dc3ff7ba..0cb1c7f861bef2dab2fea9255c414c4f9931a9ac 100755
(executable)
--- a/
Lib/pydoc.py
+++ b/
Lib/pydoc.py
@@
-1132,7
+1132,7
@@
doubt, consult the module reference at the location listed above.
result = result + self.section('FILE', file)
return result
- def docclass(self, object, name=None, mod=None):
+ def docclass(self, object, name=None, mod=None
, *ignored
):
"""Produce text documentation for a given class object."""
realname = object.__name__
name = name or realname
diff --git
a/Misc/NEWS
b/Misc/NEWS
index 91507649f615573e2f8230b216d1e02d64f33548..7de6838af3648c1b95bfdbe4b2ce9cb6dfe1a7c8 100644
(file)
--- a/
Misc/NEWS
+++ b/
Misc/NEWS
@@
-33,6
+33,8
@@
Core and Builtins
Library
-------
+- Issue #10549: Fix pydoc traceback when text-documenting certain classes.
+
- Issue #2001: New HTML server with enhanced Web page features. Patch by Ron
Adam.