Skip to content

Commit 836de1b

Browse files
Update cheat_sheet_py3.rst
1 parent 26192cf commit 836de1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/cheat_sheet_py3.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ When you're puzzled or when things are complicated
227227
# To find out what type mypy infers for an expression anywhere in
228228
# your program, wrap it in reveal_type(). Mypy will print an error
229229
# message with the type; remove it again before running the code, or
230-
# import reveal_type from typing_extensions or typing (on Python 3.11 and newer)
230+
# import reveal_type from typing_extensions or typing (on Python 3.11 and newer).
231231
reveal_type(1) # Revealed type is "builtins.int"
232232
233233
# If you initialize a variable with an empty container or "None"

0 commit comments

Comments
 (0)