#2 support for decorators

open
nobody
None
5
2009-07-20
2009-07-20
ill-665
No

Python supports a decorator notation since at least version 2.5.
With this feature, Python allows to create static methods in the following ways:

class TestClass (object):
@staticmethod
def foo ():
....

@classmethod
def bar (cls):
....

Maybe there can be included a settings option, that allows to tell PyUML, which way to use for static method definitions.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks