[Patches] [ python-Patches-1671208 ] Class Decorators

SourceForge.net noreply at sourceforge.net
Wed Feb 28 21:40:51 CET 2007


Patches item #1671208, was opened at 2007-02-28 15:40
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1671208&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jack Diederich (jackdied)
Assigned to: Nobody/Anonymous (nobody)
Summary: Class Decorators

Initial Comment:
Patch is against rev 54035 on the pyk3 branch
PEP will be on the 3k list shortly.

Grammar/Grammar is changed from

   funcdef: [decorators] 'def' NAME parameters ['->' test] ':' suite

to

    decorated_thing: decorators (classdef | funcdef)
    funcdef: 'def' NAME parameters ['->' test] ':' suite



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1671208&group_id=5470


More information about the Patches mailing list