remove deprecation warnings

This commit is contained in:
Andrey Cizov
2019-07-13 16:12:59 +01:00
committed by Jacob Alexander
parent 423e4f1f8c
commit e8662a1dc9

View File

@@ -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: