Skip to content

Commit

Permalink
Merge pull request #272 from truenas/NAS-128866-24.10
Browse files Browse the repository at this point in the history
NAS-128866 / 24.10 / Fix `DeprecationWarning` (by themylogin)
  • Loading branch information
yocalebo authored May 9, 2024
2 parents 7b2f1eb + 7786205 commit e0aeeee
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 e0aeeee

Please sign in to comment.