Skip to content

Commit aa872c1

Browse files
yileiJelleZijlstra
andauthored
Update src/black/nodes.py
Co-authored-by: Jelle Zijlstra <[email protected]>
1 parent 17109e7 commit aa872c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/black/nodes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ def is_async_stmt_or_funcdef(leaf: Leaf) -> bool:
807807
"""Return True if the given leaf starts an async def/for/with statement.
808808
809809
Note that `async def` can be either an `async_stmt` or `async_funcdef`,
810-
the later is used when it has decorators.
810+
the latter is used when it has decorators.
811811
"""
812812
return bool(
813813
leaf.type == token.ASYNC

0 commit comments

Comments
 (0)