At 03:44 PM 8/11/04 -0400, Jack Diederich wrote: >I have a mostly working patch for class decorators but it gets an XXX >ambiguity >between > >funcdef: [decorators] 'def' NAME parameters ':' suite >and >classdef: [decorators] 'class' NAME [ '(' testlist ')' ] ':' suite > >It works as advertised with the pre-decorators funcdef definition (which >removes the ambiguity). >Help? How about this? decorated_assignment: [decorators] (funcdef | classdef) classdef: 'class' NAME [ '(' testlist ')' ] ':' suite funcdef: 'def' NAME parameters ':' suite
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4