Skip to content

Commit dc8e54d

Browse files
committed
fix deprecated collections.abc usage
1 parent da9f8cb commit dc8e54d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

nvpair.pxi

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,13 @@
22
# cython: language_level=3, c_string_type=unicode, c_string_encoding=default
33

44
cimport nvpair
5-
import collections
65
import numbers
76
import cython
87
from types cimport *
98
from libc.stdint cimport uintptr_t
109
from libc.stdlib cimport malloc, free
1110

12-
try:
13-
from collections.abc import Sequence
14-
except ImportError:
15-
# < py3.3 fallback
16-
from collections import Sequence
11+
from collections.abc import Sequence
1712

1813

1914
@cython.internal

0 commit comments

Comments
 (0)