We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17109e7 commit aa872c1Copy full SHA for aa872c1
src/black/nodes.py
@@ -807,7 +807,7 @@ def is_async_stmt_or_funcdef(leaf: Leaf) -> bool:
807
"""Return True if the given leaf starts an async def/for/with statement.
808
809
Note that `async def` can be either an `async_stmt` or `async_funcdef`,
810
- the later is used when it has decorators.
+ the latter is used when it has decorators.
811
"""
812
return bool(
813
leaf.type == token.ASYNC
0 commit comments