]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo.
authorZachary Ware <zachary.ware@gmail.com>
Tue, 2 Feb 2016 23:04:41 +0000 (17:04 -0600)
committerZachary Ware <zachary.ware@gmail.com>
Tue, 2 Feb 2016 23:04:41 +0000 (17:04 -0600)
Reported by Jon Tetlak on docs@

Doc/library/typing.rst

index 0fe11671373f3360d43698985f684613b6e40f7c..41f594ecc4d0789c1370652567d715b59903ecfc 100644 (file)
@@ -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.