archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / python-pyliblo / repos / community-x86_64 / python-pyliblo-0.10.0-python3.11.patch
blob9c4e96f38d47533daf953a03cacdd9d1acd61fce
1 diff -ruN a/src/liblo.pyx b/src/liblo.pyx
2 --- a/src/liblo.pyx 2015-04-14 09:02:22.000000000 +0200
3 +++ b/src/liblo.pyx 2023-04-06 19:51:56.042679208 +0200
4 @@ -258,9 +258,9 @@
5 cb.user_data)
7 # call function
8 - if _inspect.getargspec(func)[1] == None:
9 + if _inspect.getfullargspec(func)[1] == None:
10 # determine number of arguments to call the function with
11 - n = len(_inspect.getargspec(func)[0])
12 + n = len(_inspect.getfullargspec(func)[0])
13 if _inspect.ismethod(func):
14 n -= 1 # self doesn't count
15 r = cb.func(*func_args[0:n])