mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-30 17:50:46 +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):
|
||||
self.asyn = asyn
|
||||
self.blocking = blocking
|
||||
functools.update_wrapper(self, asyn)
|
||||
|
||||
def __get__(self, *args, **kwargs):
|
||||
return self.__class__(
|
||||
|
Loading…
x
Reference in New Issue
Block a user