summaryrefslogtreecommitdiffstats
path: root/Lib/tabnanny.py
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2022-10-04 00:41:29 (GMT)
committerGitHub <noreply@github.com>2022-10-04 00:41:29 (GMT)
commit06016845dcca1d444a6db6d70ce9fe6274d551d3 (patch)
tree5eb3f8f4e2baa2b947a7f90f641e24fdd7a241d7 /Lib/tabnanny.py
parent72b5a55bc80676d57e492520d39aaf3fb6f186df (diff)
downloadcpython-06016845dcca1d444a6db6d70ce9fe6274d551d3.zip
cpython-06016845dcca1d444a6db6d70ce9fe6274d551d3.tar.gz
cpython-06016845dcca1d444a6db6d70ce9fe6274d551d3.tar.bz2
gh-97639: Remove `tokenize.NL` check from `tabnanny` (#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>
Diffstat (limited to 'Lib/tabnanny.py')
-rwxr-xr-xLib/tabnanny.py2
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"]