The UML viewer has trouble ignoring big pydoc strings like this:
""" Here's an example of how to use this class:
class Derived(ThisClass): def dostuff(self): self.stuff() """
The UML parser will think that Derived is a class in the UML diagram.
Logged In: YES user_id=438
Hi Chris,
It's actually a limitation of the code in moduleparser.
It's not easy to fix and I have no plans to do it soon, patches welcome.
Thanks, Riaan.
Logged In: YES user_id=368532
Ah, yes, I just checked out moduleparse, and it's pretty complicated. :)
Just out of curiousity, why did you decide to roll your own module for gathering information about python code instead of using inspect or pydoc?
Log in to post a comment.
Logged In: YES
user_id=438
Hi Chris,
It's actually a limitation of the code in moduleparser.
It's not easy to fix and I have no plans to do it soon, patches
welcome.
Thanks,
Riaan.
Logged In: YES
user_id=368532
Ah, yes, I just checked out moduleparse, and it's pretty
complicated. :)
Just out of curiousity, why did you decide to roll your own
module for gathering information about python code instead of
using inspect or pydoc?