[Python-checkins] cpython (3.5): Fix typo.
zach.ware
python-checkins at python.org
Tue Feb 2 18:05:34 EST 2016
https://hg.python.org/cpython/rev/e4eb2a8fdb7c
changeset: 100150:e4eb2a8fdb7c
branch: 3.5
parent: 100147:542b5744ddc3
user: Zachary Ware <zachary.ware at gmail.com>
date: Tue Feb 02 17:04:41 2016 -0600
summary:
Fix typo.
Reported by Jon Tetlak on docs@
files:
Doc/library/typing.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
--- a/Doc/library/typing.rst
+++ b/Doc/library/typing.rst
@@ -20,7 +20,7 @@
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.
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list