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 06016845dc)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
This commit is contained in:
Miss Islington (bot) 2022-10-03 19:07:10 -07:00 committed by GitHub
parent 82ce586f10
commit 40e56f3191
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -23,8 +23,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"]

View File

@ -0,0 +1 @@
Remove ``tokenize.NL`` check from :mod:`tabnanny`.