]> granicus.if.org Git - python/commitdiff
Add 2 missing commas (GH-10698)
authorBoštjan Mejak <bostjan.xperia@gmail.com>
Sun, 23 Dec 2018 16:45:51 +0000 (17:45 +0100)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>
Sun, 23 Dec 2018 16:45:51 +0000 (08:45 -0800)
Doc/library/typing.rst

index 47ae4213f3c0a50c7333df286c89a68d4b5b704d..aa5e4d287ae79f70d51b4ad518410e647f6a220f 100644 (file)
@@ -101,7 +101,7 @@ accidentally creating a ``UserId`` in an invalid way::
    # 'output' is of type 'int', not 'UserId'
    output = UserId(23413) + UserId(54341)
 
-Note that these checks are enforced only by the static type checker. At runtime
+Note that these checks are enforced only by the static type checker. At runtime,
 the statement ``Derived = NewType('Derived', Base)`` will make ``Derived`` a
 function that immediately returns whatever parameter you pass it. That means
 the expression ``Derived(some_value)`` does not create a new class or introduce