diff options
author | Guido van Rossum <guido@python.org> | 2001-08-07 17:19:25 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-08-07 17:19:25 +0000 |
commit | 61dddc2c48b1a9ae093f37393a9601515cfb0d3f (patch) | |
tree | ab92771d307723b993b2590cf127ac0217d1cf6a /Lib/tabnanny.py | |
parent | cdd5f0e5190c8639c1aa7968a72b9548145eaec9 (diff) | |
download | cpython-61dddc2c48b1a9ae093f37393a9601515cfb0d3f.tar.gz |
Add the NannyNag exception class and the process_tokens() function to
__all__, to indicate these are implied as part of the public API.
IDLE's "Check Module" command uses this, and it broke once already
because the reset_globals() and tokeneater() functions were deleted
when Neil converted this to using the generator API of tokenizer.
(See SF bug #448835.)
Diffstat (limited to 'Lib/tabnanny.py')
-rwxr-xr-x | Lib/tabnanny.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tabnanny.py b/Lib/tabnanny.py index 35e5cfaa56..a0492e65c9 100755 --- a/Lib/tabnanny.py +++ b/Lib/tabnanny.py @@ -17,7 +17,7 @@ import tokenize if not hasattr(tokenize, 'NL'): raise ValueError("tokenize.NL doesn't exist -- tokenize module too old") -__all__ = ["check"] +__all__ = ["check", "NannyNag", "process_tokens"] verbose = 0 filename_only = 0 |