From 3df11b2bd6df1940636683ea67ce5721974bb4ed Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Tue, 2 Feb 2016 17:04:41 -0600 Subject: [PATCH] Fix typo. Reported by Jon Tetlak on docs@ --- Doc/library/typing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 0fe1167137..41f594ecc4 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. -- 2.40.0