Skip to content

Commit

Permalink
mimick method location
Browse files Browse the repository at this point in the history
  • Loading branch information
maxfischer2781 committed Oct 19, 2024
1 parent 2cedd0b commit 52967a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions asyncstdlib/functools.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ def __init__(
self.func = self.__wrapped__ = getter
self.attrname = None
self.__doc__ = getter.__doc__
self.__module__ = getter.__module__
self._asynccontextmanager_type = asynccontextmanager_type

def __set_name__(self, owner: Any, name: str) -> None:
Expand Down

0 comments on commit 52967a1

Please sign in to comment.