Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 284b787

Browse files
PedanticHackerrhettinger
authored andcommitted
Add 2 missing commas (GH-10698)
1 parent 6815155 commit 284b787

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/typing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ accidentally creating a ``UserId`` in an invalid way::
101101
# 'output' is of type 'int', not 'UserId'
102102
output = UserId(23413) + UserId(54341)
103103

104-
Note that these checks are enforced only by the static type checker. At runtime
104+
Note that these checks are enforced only by the static type checker. At runtime,
105105
the statement ``Derived = NewType('Derived', Base)`` will make ``Derived`` a
106106
function that immediately returns whatever parameter you pass it. That means
107107
the expression ``Derived(some_value)`` does not create a new class or introduce

0 commit comments

Comments
 (0)