diff --git a/pybindgen/cppclass.py b/pybindgen/cppclass.py index 32ce581..9364adc 100644 --- a/pybindgen/cppclass.py +++ b/pybindgen/cppclass.py @@ -39,7 +39,8 @@ import collections try: collectionsCallable = collections.Callable except AttributeError: - collectionsCallable = collections + import collections.abc + collectionsCallable = collections.abc.Callable try: set