Commit 284b7876 authored by Boštjan Mejak's avatar Boštjan Mejak Committed by Raymond Hettinger

Add 2 missing commas (GH-10698)

parent 68151553
...@@ -101,7 +101,7 @@ accidentally creating a ``UserId`` in an invalid way:: ...@@ -101,7 +101,7 @@ accidentally creating a ``UserId`` in an invalid way::
# 'output' is of type 'int', not 'UserId' # 'output' is of type 'int', not 'UserId'
output = UserId(23413) + UserId(54341) 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 the statement ``Derived = NewType('Derived', Base)`` will make ``Derived`` a
function that immediately returns whatever parameter you pass it. That means function that immediately returns whatever parameter you pass it. That means
the expression ``Derived(some_value)`` does not create a new class or introduce the expression ``Derived(some_value)`` does not create a new class or introduce
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment