summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBoĊĦtjan Mejak <bostjan.xperia@gmail.com>2018-12-23 16:45:51 (GMT)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>2018-12-23 16:45:51 (GMT)
commit284b787612af2fde74713ade8e6b6a2807d34011 (patch)
treede1e9e3e3d503433e1ab628c305081f737db349f /Doc
parent68151553845199136794bd60dcec238d8bfe0bdb (diff)
downloadcpython-284b787612af2fde74713ade8e6b6a2807d34011.zip
cpython-284b787612af2fde74713ade8e6b6a2807d34011.tar.gz
cpython-284b787612af2fde74713ade8e6b6a2807d34011.tar.bz2
Add 2 missing commas (GH-10698)
Diffstat (limited to 'Doc')
-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 47ae421..aa5e4d2 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