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>
This commit is contained in:
Nikita Sobolev 2022-10-04 03:41:29 +03:00 committed by GitHub
parent 72b5a55bc8
commit 06016845dc
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`.