diff options
author | Guido van Rossum <guido@python.org> | 2001-08-07 17:19:25 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-08-07 17:19:25 (GMT) |
commit | c5943b1c8c49e235efd6e6b4c7fbfb4952c28fd0 (patch) | |
tree | 25f3577588f25abced340c457c379ef1be4531e1 | |
parent | 44b1e7d8403558e945f796fec897d7862c9cec8a (diff) | |
download | cpython-c5943b1c8c49e235efd6e6b4c7fbfb4952c28fd0.zip cpython-c5943b1c8c49e235efd6e6b4c7fbfb4952c28fd0.tar.gz cpython-c5943b1c8c49e235efd6e6b4c7fbfb4952c28fd0.tar.bz2 |
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.)
-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 35e5cfa..a0492e6 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 |