Skip to content

Commit 1a400cc

Browse files
committed
correct doc
1 parent b4a5f9f commit 1a400cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/textual/_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def parse(
118118
"""Implement to parse a stream of text.
119119
120120
Args:
121-
on_token: Callable to report a successful parsed data type.
121+
token_callback: Callable to report a successful parsed data type.
122122
123123
Yields:
124124
ParseAwaitable: One of `self.read1` or `self.peek1`

0 commit comments

Comments
 (0)