Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
Reported by Jon Tetlak on docs@
  • Loading branch information
zware committed Feb 2, 2016
1 parent 3874128 commit 3df11b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/typing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The function below takes and returns a string and is annotated as follows::
def greeting(name: str) -> str:
return 'Hello ' + name

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

Expand Down

0 comments on commit 3df11b2

Please sign in to comment.