Skip to content

Commit 6208400

Browse files
authored
Add missing type hint in docs (#13478)
`subject='',` -> `subject: str = '',`
1 parent aa285e3 commit 6208400

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
@@ -119,7 +119,7 @@ Python 3 supports an annotation syntax for function declarations.
119119
sender: str,
120120
cc: Optional[list[str]],
121121
bcc: Optional[list[str]],
122-
subject='',
122+
subject: str = '',
123123
body: Optional[list[str]] = None
124124
) -> bool:
125125
...

0 commit comments

Comments
 (0)