mirror of
https://github.com/capnproto/pycapnp.git
synced 2025-03-04 16:35:04 +01:00
remove deprecation warnings
This commit is contained in:
parent
423e4f1f8c
commit
e8662a1dc9
1 changed files with 3 additions and 3 deletions
|
@ -1814,7 +1814,7 @@ cdef class Promise:
|
|||
|
||||
argspec = None
|
||||
try:
|
||||
argspec = _inspect.getargspec(func)
|
||||
argspec = _inspect.getfullargspec(func)
|
||||
except:
|
||||
pass
|
||||
if argspec:
|
||||
|
@ -1877,7 +1877,7 @@ cdef class _VoidPromise:
|
|||
|
||||
argspec = None
|
||||
try:
|
||||
argspec = _inspect.getargspec(func)
|
||||
argspec = _inspect.getfullargspec(func)
|
||||
except:
|
||||
pass
|
||||
if argspec:
|
||||
|
@ -1950,7 +1950,7 @@ cdef class _RemotePromise:
|
|||
|
||||
argspec = None
|
||||
try:
|
||||
argspec = _inspect.getargspec(func)
|
||||
argspec = _inspect.getfullargspec(func)
|
||||
except:
|
||||
pass
|
||||
if argspec:
|
||||
|
|
Loading…
Add table
Reference in a new issue