Skip to content

Commit da9f8cb

Browse files
committed
swaps import order of collections try/catch in nvpair.pxi
1 parent 1aefc47 commit da9f8cb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

nvpair.pxi

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@ from libc.stdint cimport uintptr_t
1010
from libc.stdlib cimport malloc, free
1111

1212
try:
13-
from collections import Sequence
14-
except ImportError:
15-
# >= py3.10 moved everything into top-level "abc" module
16-
# https://docs.python.org/3.9/library/collections.html
1713
from collections.abc import Sequence
14+
except ImportError:
15+
# < py3.3 fallback
16+
from collections import Sequence
1817

1918

2019
@cython.internal

0 commit comments

Comments
 (0)