commit | c150536b5efadf71fcb4187cad7258be7268e157 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Thu Dec 28 06:47:50 2006 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Thu Dec 28 06:47:50 2006 +0000 |
tree | aeb17f5e0ecc6cc8ccdecb2b64e3f46a0a3af85c | |
parent | f6657e67b3cf89649d14d9012b3964a3490d45b0 [diff] [blame] |
PEP 3107 - Function Annotations thanks to Tony Lownds
diff --git a/Tools/compiler/astgen.py b/Tools/compiler/astgen.py index 26a185b..1485707 100644 --- a/Tools/compiler/astgen.py +++ b/Tools/compiler/astgen.py
@@ -266,7 +266,10 @@ pass # implemented by subclasses class EmptyNode(Node): - pass + def getChildNodes(self): + return () + def getChildren(self): + return () class Expression(Node): # Expression is an artificial node class to support "eval"