[IronPython] bug: Modules with no docstring have wrong __doc__
dinov at microsoft.com
Tue Feb 24 18:40:55 CET 2009
Thanks for reporting this - it looks like we just need to set the __doc__ in the dict to None.
> -----Original Message-----
> From: users-bounces at lists.ironpython.com [mailto:users-
> bounces at lists.ironpython.com] On Behalf Of Christian Muirhead
> Sent: Tuesday, February 24, 2009 7:51 AM
> To: users at lists.ironpython.com
> Subject: [IronPython] bug: Modules with no docstring have wrong __doc__
> Hi guys -
> Just found a minor bug in IP 2.0.1 - we're working around it in our
> documentation generation tool.
> If you create an empty module, import it and print __doc__, you get:
> module(dict dictionary)
> module(module parent, dict dictionary)
> module(module parent, dict dictionary, bool isVisible)
> In IP 1 and CPython, it was None.
> I've filed this on codeplex:
> Users mailing list
> Users at lists.ironpython.com
More information about the Ironpython-users