diff options
author | Georg Brandl <georg@python.org> | 2009-05-25 21:02:56 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-05-25 21:02:56 (GMT) |
commit | 944f684ce6f439bc868d4b189c45f726dfb9d3b1 (patch) | |
tree | 3fd9c596e78b01836158508978ce8eab678bb37b /Include | |
parent | 04516611e7e4ceaef6fef9413719e9cb5b4bb087 (diff) | |
download | cpython-944f684ce6f439bc868d4b189c45f726dfb9d3b1.zip cpython-944f684ce6f439bc868d4b189c45f726dfb9d3b1.tar.gz cpython-944f684ce6f439bc868d4b189c45f726dfb9d3b1.tar.bz2 |
Allow multiple context managers in one with statement, as proposed
in http://codereview.appspot.com/53094 and accepted by Guido.
The construct is transformed into multiple With AST nodes so that
there should be no problems with the semantics.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/graminit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/graminit.h b/Include/graminit.h index 38b4dac..6df6509 100644 --- a/Include/graminit.h +++ b/Include/graminit.h @@ -42,7 +42,7 @@ #define for_stmt 295 #define try_stmt 296 #define with_stmt 297 -#define with_var 298 +#define with_item 298 #define except_clause 299 #define suite 300 #define testlist_safe 301 |