mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-10 22:51:59 +08:00
Remove unused code.
This commit is contained in:
@@ -22,9 +22,6 @@ from parso._compatibility import py_version, u
|
|||||||
from parso.utils import splitlines
|
from parso.utils import splitlines
|
||||||
|
|
||||||
|
|
||||||
cookie_re = re.compile("coding[:=]\s*([-\w.]+)")
|
|
||||||
|
|
||||||
|
|
||||||
if py_version >= 30:
|
if py_version >= 30:
|
||||||
# Python 3 has str.isidentifier() to check if a char is a valid identifier
|
# Python 3 has str.isidentifier() to check if a char is a valid identifier
|
||||||
is_identifier = str.isidentifier
|
is_identifier = str.isidentifier
|
||||||
|
|||||||
Reference in New Issue
Block a user