Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:

The fix is simple:


--- Lib/pydoc.py        (revision 86824)
+++ Lib/pydoc.py        (working copy)
@@ -1110,7 +1110,7 @@
         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

I think this is the right thing to do because HTMLDoc.docclass() has the 
following signature.


    def docclass(self, object, name=None, mod=None, funcs={}, classes={},
                 *ignored):

----------
stage: needs patch -> unit test needed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10549>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to