PEP 612: Fix indentation in code example (#1557)

This commit is contained in:
Stephan Hoyer 2020-08-10 19:47:05 -07:00 committed by GitHub
parent 0a12f69b07
commit d198754bdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ tools to annotate the following common decorator pattern satisfactorily:
def add_logging(f: Callable[..., R]) -> Callable[..., Awaitable[R]]:
async def inner(*args: object, **kwargs: object) -> R:
await log_to_database()
return f(*args, **kwargs)
return f(*args, **kwargs)
return inner
@add_logging