We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6690376 commit ba6cfb7Copy full SHA for ba6cfb7
1 file changed
trio_asyncio/adapter.py
@@ -13,6 +13,7 @@
13
14
def trio2aio(proc):
15
"""Decorate an asyncio function so that it's callable by Trio (only)."""
16
+
17
@wraps(proc)
18
async def call(*args, **kwargs):
19
if kwargs:
@@ -26,6 +27,7 @@ async def call(*args, **kwargs):
26
27
28
def aio2trio(proc):
29
"""Decorate a Trio function so that it's callable by asyncio (only)."""
30
31
32
33
0 commit comments