Thanks for reporting this - it looks like we just need to set the __doc__ in the dict to None.
> -----Original Message----- > From: [email protected] [mailto:users- > [email protected]] On Behalf Of Christian Muirhead > Sent: Tuesday, February 24, 2009 7:51 AM > To: [email protected] > 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 > [email protected] > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
