mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +00:00
utils/asyn: Ensure that we propagate docstrings in asyncf()
This commit is contained in:
parent
fb4e155696
commit
b6da67d12f
@ -209,6 +209,7 @@ class _AsyncPolymorphicFunction:
|
|||||||
def __init__(self, asyn, blocking):
|
def __init__(self, asyn, blocking):
|
||||||
self.asyn = asyn
|
self.asyn = asyn
|
||||||
self.blocking = blocking
|
self.blocking = blocking
|
||||||
|
functools.update_wrapper(self, asyn)
|
||||||
|
|
||||||
def __get__(self, *args, **kwargs):
|
def __get__(self, *args, **kwargs):
|
||||||
return self.__class__(
|
return self.__class__(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user