1
0
mirror of https://github.com/ARM-software/devlib.git synced 2024-10-05 18:30:50 +01:00

utils/asyn: Ensure that we propagate docstrings in asyncf()

This commit is contained in:
Douglas Raillard 2024-08-09 19:05:58 +01:00 committed by Marc Bonnici
parent fb4e155696
commit b6da67d12f

View File

@ -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__(