mirror of
https://github.com/python/cpython.git
synced 2025-11-01 14:11:41 +00:00
#10549: fix interface of docclass() for text documenter.
This commit is contained in:
parent
34e9fc2e82
commit
9bd45f995f
2 changed files with 3 additions and 1 deletions
|
@ -1132,7 +1132,7 @@ def docmodule(self, object, name=None, mod=None):
|
||||||
result = result + self.section('FILE', file)
|
result = result + self.section('FILE', file)
|
||||||
return result
|
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."""
|
"""Produce text documentation for a given class object."""
|
||||||
realname = object.__name__
|
realname = object.__name__
|
||||||
name = name or realname
|
name = name or realname
|
||||||
|
|
|
@ -33,6 +33,8 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #10549: Fix pydoc traceback when text-documenting certain classes.
|
||||||
|
|
||||||
- Issue #2001: New HTML server with enhanced Web page features. Patch by Ron
|
- Issue #2001: New HTML server with enhanced Web page features. Patch by Ron
|
||||||
Adam.
|
Adam.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue