mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-08 13:45:01 +08:00
Fix an issue for python 2.
This commit is contained in:
@@ -1,4 +1,9 @@
|
|||||||
|
try:
|
||||||
from itertools import zip_longest
|
from itertools import zip_longest
|
||||||
|
except ImportError:
|
||||||
|
# Python 2
|
||||||
|
from itertools import izip_longest as zip_longest
|
||||||
|
|
||||||
from codecs import BOM_UTF8
|
from codecs import BOM_UTF8
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|||||||
Reference in New Issue
Block a user