Blob Blame History Raw
diff -urN pyliblo-0.10.0-orig/src/liblo.pyx pyliblo-0.10.0/src/liblo.pyx
--- pyliblo-0.10.0-orig/src/liblo.pyx	2015-03-15 00:05:16.000000000 -0300
+++ pyliblo-0.10.0/src/liblo.pyx	2023-08-02 04:17:53.311517532 -0400
@@ -258,9 +258,9 @@
                  cb.user_data)
 
     # call function
-    if _inspect.getargspec(func)[1] == None:
+    if _inspect.getfullargspec(func)[1] == None:
         # determine number of arguments to call the function with
-        n = len(_inspect.getargspec(func)[0])
+        n = len(_inspect.getfullargspec(func)[0])
         if _inspect.ismethod(func):
             n -= 1  # self doesn't count
         r = cb.func(*func_args[0:n])