Skip to content

Commit 3187845

Browse files
Apply ruff/pyupgrade rule UP035
UP035 Import from `collections.abc` instead: `Callable`
1 parent 47db805 commit 3187845

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cffi/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
callable
88
except NameError:
99
# Python 3.1
10-
from collections import Callable
10+
from collections.abc import Callable
1111
callable = lambda x: isinstance(x, Callable)
1212

1313
try:

0 commit comments

Comments
 (0)