simplified.py | raw changeset files shortlog |
1.1 --- a/simplified.py Fri Feb 23 00:12:44 2007 +0100 1.2 +++ b/simplified.py Fri Feb 23 01:29:50 2007 +0100 1.3 @@ -425,6 +425,13 @@ 1.4 class ReturnFromBlock(Return): 1.5 pass 1.6 1.7 +# NOTE: Not actually supported. 1.8 +# Additionally, yield statements act like return statements for the purposes 1.9 +# of this system. 1.10 + 1.11 +class Yield(ReturnFromFunction): 1.12 + pass 1.13 + 1.14 # Some behaviour is set as the default in conditional nodes but may be 1.15 # overridden. 1.16