From e8662a1dc9f291ae9d2ae90862e57d49994b0a64 Mon Sep 17 00:00:00 2001 From: Andrey Cizov Date: Sat, 13 Jul 2019 16:12:59 +0100 Subject: [PATCH] remove deprecation warnings --- capnp/lib/capnp.pyx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/capnp/lib/capnp.pyx b/capnp/lib/capnp.pyx index 6830ba6..c396402 100644 --- a/capnp/lib/capnp.pyx +++ b/capnp/lib/capnp.pyx @@ -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: