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 yselivanov
Recipients Claudiu.Popa, berker.peksag, bignose, eric.araujo, eric.snow, martin.panter, matrixise, r.david.murray, rhettinger, yselivanov
Date 2014-04-16.21:37:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397684251.77.0.824089079829.issue12916@psf.upfronthosting.co.za>
In-reply-to
Content
> In the inspect module, I think all the functions take a object and not a 
string, it's the reason why I included the code of pydoc.getdoc() into 
inspect.splitdoc().

I understand. But you also do inspect.getdoc or inspect.getcomments, which I don't really like.  What's the point of having getcomments there?  Are comments considered docstrings?  If not, then why is the method called splitdocs?

Don't get me wrong, I'm not trying to pushback on the idea (since everybody is agreeing to have it), I just want the naming and behaviour be consistent.
History
Date User Action Args
2014-04-16 21:37:31yselivanovsetrecipients: + yselivanov, rhettinger, eric.araujo, r.david.murray, Claudiu.Popa, bignose, eric.snow, berker.peksag, martin.panter, matrixise
2014-04-16 21:37:31yselivanovsetmessageid: <1397684251.77.0.824089079829.issue12916@psf.upfronthosting.co.za>
2014-04-16 21:37:31yselivanovlinkissue12916 messages
2014-04-16 21:37:31yselivanovcreate