summaryrefslogtreecommitdiffstats
path: root/Lib/pydoc.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-12-03 09:58:38 (GMT)
committerGeorg Brandl <georg@python.org>2010-12-03 09:58:38 (GMT)
commit9bd45f995fa7e79edaf6e79f947de70c22e00168 (patch)
tree35bf37711b0d04ac89cd2f82564fc9bb0ee8ac49 /Lib/pydoc.py
parent34e9fc2e8268b67352e22604d04f85ece008704f (diff)
downloadcpython-9bd45f995fa7e79edaf6e79f947de70c22e00168.zip
cpython-9bd45f995fa7e79edaf6e79f947de70c22e00168.tar.gz
cpython-9bd45f995fa7e79edaf6e79f947de70c22e00168.tar.bz2
#10549: fix interface of docclass() for text documenter.
Diffstat (limited to 'Lib/pydoc.py')
-rwxr-xr-xLib/pydoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py
index 282fe15..0cb1c7f 100755
--- 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