Skip to content

Commit

Permalink
fix: async def repr (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler authored Nov 12, 2023
1 parent 089f42a commit 18a2827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion a_sync/modified.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __call__(self, *args: P.args, asynchronous: Literal[True] = True, **kwargs:
def __call__(self, *args: P.args, **kwargs: P.kwargs) -> MaybeAwaitable[T]:
return self.fn(*args, **kwargs)

async def __repr__(self) -> str:
def __repr__(self) -> str:
return f"<{self.__class__.__name__} {self.__name__} at {hex(id(self))}>"

@functools.cached_property
Expand Down

0 comments on commit 18a2827

Please sign in to comment.