[IronPython] bug: Modules with no docstring have wrong __doc__

Christian Muirhead christian.muirhead at resolversystems.com
Tue Feb 24 16:50:56 CET 2009


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()
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:
http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=21360

Cheers,
Christian



More information about the Ironpython-users mailing list