summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoĊĦtjan Mejak <bostjan.xperia@gmail.com>2018-12-23 17:45:51 +0100
committerRaymond Hettinger <rhettinger@users.noreply.github.com>2018-12-23 08:45:51 -0800
commit284b787612af2fde74713ade8e6b6a2807d34011 (patch)
treede1e9e3e3d503433e1ab628c305081f737db349f
parent68151553845199136794bd60dcec238d8bfe0bdb (diff)
downloadcpython-git-284b787612af2fde74713ade8e6b6a2807d34011.tar.gz
Add 2 missing commas (GH-10698)
-rw-r--r--Doc/library/typing.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 47ae4213f3..aa5e4d287a 100644
--- a/Doc/library/typing.rst
+++ b/Doc/library/typing.rst
@@ -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