Skip to content

Commit

Permalink
Fix DeprecationWarning
Browse files Browse the repository at this point in the history
(cherry picked from commit b8b0cee)
  • Loading branch information
themylogin authored and bugclerk committed May 9, 2024
1 parent 8e795ff commit 7acf504
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions nvpair.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@ from types cimport *
from libc.stdint cimport uintptr_t
from libc.stdlib cimport malloc, free

try:
from collections import Sequence
except ImportError:
# >= py3.10 moved everything into top-level "abc" module
# https://docs.python.org/3.9/library/collections.html
from collections.abc import Sequence
from collections.abc import Sequence


@cython.internal
Expand Down

0 comments on commit 7acf504

Please sign in to comment.