Commit 9bd45f99 authored by Georg Brandl's avatar Georg Brandl

#10549: fix interface of docclass() for text documenter.

parent 34e9fc2e
......@@ -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
......
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment