Thanks for reporting this - it looks like we just need to set the __doc__ in 
the dict to None.

> -----Original Message-----
> From: users-boun...@lists.ironpython.com [mailto:users-
> boun...@lists.ironpython.com] On Behalf Of Christian Muirhead
> Sent: Tuesday, February 24, 2009 7:51 AM
> To: users@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()
> 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
> _______________________________________________
> Users mailing list
> Users@lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to