Skip to content

Commit 2cedd0b

Browse files
expose wrapped method explicitly
1 parent b200a12 commit 2cedd0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asyncstdlib/functools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def __init__(
135135
getter: Callable[[T], Awaitable[R]],
136136
asynccontextmanager_type: Type[AsyncContextManager[Any]] = nullcontext,
137137
):
138-
self.func = getter
138+
self.func = self.__wrapped__ = getter
139139
self.attrname = None
140140
self.__doc__ = getter.__doc__
141141
self._asynccontextmanager_type = asynccontextmanager_type

0 commit comments

Comments
 (0)