Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3df11b2

Browse files
committed
Fix typo.
Reported by Jon Tetlak on docs@
1 parent 3874128 commit 3df11b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/typing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The function below takes and returns a string and is annotated as follows::
2020
def greeting(name: str) -> str:
2121
return 'Hello ' + name
2222

23-
In the function ``greeting``, the argument ``name`` is expected to by of type
23+
In the function ``greeting``, the argument ``name`` is expected to be of type
2424
:class:`str` and the return type :class:`str`. Subtypes are accepted as
2525
arguments.
2626

0 commit comments

Comments
 (0)