Skip to content

Commit ba6cfb7

Browse files
committed
YAPFd
1 parent 6690376 commit ba6cfb7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

trio_asyncio/adapter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
def trio2aio(proc):
1515
"""Decorate an asyncio function so that it's callable by Trio (only)."""
16+
1617
@wraps(proc)
1718
async def call(*args, **kwargs):
1819
if kwargs:
@@ -26,6 +27,7 @@ async def call(*args, **kwargs):
2627

2728
def aio2trio(proc):
2829
"""Decorate a Trio function so that it's callable by asyncio (only)."""
30+
2931
@wraps(proc)
3032
async def call(*args, **kwargs):
3133
if kwargs:

0 commit comments

Comments
 (0)