Python 3 build class parsing

This commit is contained in:
rocky
2016-05-07 23:29:23 -04:00
parent 36ffd4c31f
commit 406df297df
3 changed files with 18 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
# Tests Python 3:
# build_class ::= LOAD_BUILD_CLASS mkfunc expr call_function CALL_FUNCTION_3
from collections import namedtuple
class Event(namedtuple('Event', 'time, priority, action, argument')):
pass