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 Antony.Lee
Recipients Antony.Lee, docs@python
Date 2016-01-08.23:30:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1452295807.98.0.613500169742.issue26052@psf.upfronthosting.co.za>
In-reply-to
Content
For a class whose __init__ has no docstring, e.g.

    class C:
        def __init__(self, arg):
            pass

pydoc outputs

    <... cropped ...>
    class C(builtins.object)
     |  Methods defined here:
     |  
     |  __init__(self, arg)
     |      Initialize self.  See help(type(self)) for accurate signature.
    <... cropped ...>

The last part "See help(type(self)) for accurate signature." could arguably be cropped as the correct signature is already displayed (I see that this is the docstring of object.__init__, it's not clear to me why it needs this sentence.).
History
Date User Action Args
2016-01-08 23:30:08Antony.Leesetrecipients: + Antony.Lee, docs@python
2016-01-08 23:30:07Antony.Leesetmessageid: <1452295807.98.0.613500169742.issue26052@psf.upfronthosting.co.za>
2016-01-08 23:30:07Antony.Leelinkissue26052 messages
2016-01-08 23:30:07Antony.Leecreate