Skip to content

Commit 5887d38

Browse files
authored
Fixes python syntax in --local-partial-types example (#8369)
1 parent 39d6bde commit 5887d38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/command_line.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ of the above sections.
501501
bar = None # Need type annotation here if using --local-partial-types
502502
baz = None # type: Optional[int]
503503
504-
def __init__(self) -> None
504+
def __init__(self) -> None:
505505
self.bar = 1
506506
507507
reveal_type(Foo().bar) # Union[int, None] without --local-partial-types

0 commit comments

Comments
 (0)