summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2002-11-05 06:06:02 (GMT)
committerRaymond Hettinger <python@rcn.com>2002-11-05 06:06:02 (GMT)
commit78a7aeeb1a93b0a3b850355bc7f71dab00fa755a (patch)
treedcc9ba88a24342c36650f8c24a131bdcf2bd38fd
parenta326f47a13e0c9fac32067f093976e2210da09e5 (diff)
downloadcpython-78a7aeeb1a93b0a3b850355bc7f71dab00fa755a.zip
cpython-78a7aeeb1a93b0a3b850355bc7f71dab00fa755a.tar.gz
cpython-78a7aeeb1a93b0a3b850355bc7f71dab00fa755a.tar.bz2
SF 633560: tokenize.__all__ needs "generate_tokens"
-rw-r--r--Lib/tokenize.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/tokenize.py b/Lib/tokenize.py
index 76ea7a2..37ce049 100644
--- a/Lib/tokenize.py
+++ b/Lib/tokenize.py
@@ -30,7 +30,8 @@ import string, re
from token import *
import token
-__all__ = [x for x in dir(token) if x[0] != '_'] + ["COMMENT", "tokenize", "NL"]
+__all__ = [x for x in dir(token) if x[0] != '_'] + ["COMMENT", "tokenize",
+ "generate_tokens", "NL"]
del x
del token