This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients belopolsky, milko.krachounov
Date 2010-11-27.18:27:42
SpamBayes Score 0.00053325965
Marked as misclassified No
Message-id <1290882469.79.0.575804897333.issue10549@psf.upfronthosting.co.za>
In-reply-to
Content
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):
History
Date User Action Args
2010-11-27 18:27:49belopolskysetrecipients: + belopolsky, milko.krachounov
2010-11-27 18:27:49belopolskysetmessageid: <1290882469.79.0.575804897333.issue10549@psf.upfronthosting.co.za>
2010-11-27 18:27:43belopolskylinkissue10549 messages
2010-11-27 18:27:42belopolskycreate