[Python-Dev] syntactic sugar idea for {static,class}methods

Barry A. Warsaw barry@zope.com
Tue, 12 Feb 2002 13:44:11 -0500

>>>>> "SM" == Skip Montanaro <skip@pobox.com> writes:

    MH> s C(object): def static(arg) [staticmethod]: return 1 + arg

    BAW> Why the square brackets though?

    SM> I believe Guido addressed this in his DevDay presentation.
    SM> The list construct is to allow future extensions without
    SM> requiring parser changes.

Okie dokie.