Skip to content

Commit

Permalink
Fix collections import
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhenderson committed Oct 5, 2021
1 parent fbb74e6 commit e645cc6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pybindgen/cppclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
try:
collectionsCallable = collections.Callable
except AttributeError:
collectionsCallable = collections
import collections.abc
collectionsCallable = collections.abc.Callable

try:
set
Expand Down

0 comments on commit e645cc6

Please sign in to comment.