summaryrefslogtreecommitdiff
path: root/Lib/symbol.py
diff options
context:
space:
mode:
authorPhillip J. Eby <pje@telecommunity.com>2005-08-02 00:46:46 +0000
committerPhillip J. Eby <pje@telecommunity.com>2005-08-02 00:46:46 +0000
commit0d6615fd29063bdaccb13e1fbae542fb666d8728 (patch)
tree0f18d41e2cb8831c9d244ab6586f9f8377592c67 /Lib/symbol.py
parentd794666048510deca0d4987a4c74d0fca85be411 (diff)
downloadcpython-git-0d6615fd29063bdaccb13e1fbae542fb666d8728.tar.gz
PEP 342 implementation. Per Guido's comments, the generator throw()
method still needs to support string exceptions, and allow None for the third argument. Documentation updates are needed, too.
Diffstat (limited to 'Lib/symbol.py')
-rwxr-xr-xLib/symbol.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/symbol.py b/Lib/symbol.py
index eaf5a2581d..8219008ac3 100755
--- a/Lib/symbol.py
+++ b/Lib/symbol.py
@@ -88,6 +88,7 @@ gen_for = 330
gen_if = 331
testlist1 = 332
encoding_decl = 333
+yield_expr = 334
#--end constants--
sym_name = {}