David Anton wrote: > Which of the following is considered more acceptable in the Python/IronPython > community? > > Prefacing the method with: > @staticmethod > > or following the method with: > MyMethod = staticmethod(MyMethod) >
Since Python 2.4, the decorator is nicer. :-) Michael Foord http://www.voidspace.org.uk/python/index.shtml > > _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
