diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2016-02-02 23:04:41 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2016-02-02 23:04:41 (GMT) |
commit | 3df11b2bd6df1940636683ea67ce5721974bb4ed (patch) | |
tree | 0383cc71cfae67760107c5afb4b00dc95c42a6fa /Doc | |
parent | 38741285195fd78964f484ba3cb0feb67d7962c0 (diff) | |
download | cpython-3df11b2bd6df1940636683ea67ce5721974bb4ed.zip cpython-3df11b2bd6df1940636683ea67ce5721974bb4ed.tar.gz cpython-3df11b2bd6df1940636683ea67ce5721974bb4ed.tar.bz2 |
Fix typo.
Reported by Jon Tetlak on docs@
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/typing.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 0fe1167..41f594e 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -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. |