diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-10-04 02:07:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-04 02:07:10 (GMT) |
commit | 40e56f3191a2fd242b2c03d483fe23c960fb8c22 (patch) | |
tree | f7ea292dcfe8b2a9351e0ad1d9250950748b741e /Lib | |
parent | 82ce586f10257c3176c1e92745f6e19f3787c9f1 (diff) | |
download | cpython-40e56f3191a2fd242b2c03d483fe23c960fb8c22.zip cpython-40e56f3191a2fd242b2c03d483fe23c960fb8c22.tar.gz cpython-40e56f3191a2fd242b2c03d483fe23c960fb8c22.tar.bz2 |
gh-97639: Remove `tokenize.NL` check from `tabnanny` (GH-97640)
* gh-97639: Remove `tokenize.NL` check from `tabnanny`
* 📜🤖 Added by blurb_it.
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
(cherry picked from commit 06016845dcca1d444a6db6d70ce9fe6274d551d3)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/tabnanny.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/tabnanny.py b/Lib/tabnanny.py index 7973f26..a47f5a9 100755 --- a/Lib/tabnanny.py +++ b/Lib/tabnanny.py @@ -23,8 +23,6 @@ __version__ = "6" import os import sys import tokenize -if not hasattr(tokenize, 'NL'): - raise ValueError("tokenize.NL doesn't exist -- tokenize module too old") __all__ = ["check", "NannyNag", "process_tokens"] |