File tree 5 files changed +5
-5
lines changed
5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1233,7 +1233,7 @@ These can be used as types in annotations. They all support subscription using
1233
1233
completely disables typechecking for a function or class.
1234
1234
1235
1235
The responsibility of how to interpret the metadata
1236
- lies with the the tool or library encountering an
1236
+ lies with the tool or library encountering an
1237
1237
``Annotated `` annotation. A tool or library encountering an ``Annotated `` type
1238
1238
can scan through the metadata elements to determine if they are of interest
1239
1239
(e.g., using :func: `isinstance `).
Original file line number Diff line number Diff line change @@ -921,7 +921,7 @@ and improves their substitutability for lists.
921
921
Docstrings produced by :func: `~collections.namedtuple ` can now be updated::
922
922
923
923
Point = namedtuple('Point', ['x', 'y'])
924
- Point.__doc__ += ': Cartesian coodinate '
924
+ Point.__doc__ += ': Cartesian coordinate '
925
925
Point.x.__doc__ = 'abscissa'
926
926
Point.y.__doc__ = 'ordinate'
927
927
Original file line number Diff line number Diff line change @@ -1980,7 +1980,7 @@ def __getattr__(self, attr):
1980
1980
ns = {}
1981
1981
exec (code , ns )
1982
1982
number_attrs = ns ["number_attrs" ]
1983
- # Warm up the the function for quickening (PEP 659)
1983
+ # Warm up the function for quickening (PEP 659)
1984
1984
for _ in range (30 ):
1985
1985
self .assertEqual (number_attrs (Numbers ()), list (range (280 )))
1986
1986
Original file line number Diff line number Diff line change @@ -317,7 +317,7 @@ def f():
317
317
sneaky_frame_object = None
318
318
gc .enable ()
319
319
next (g )
320
- # g.gi_frame should be the the frame object from the callback (the
320
+ # g.gi_frame should be the frame object from the callback (the
321
321
# one that was *requested* second, but *created* first):
322
322
self .assertIs (g .gi_frame , sneaky_frame_object )
323
323
finally :
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ def test_extended_oparg_not_ignored(self):
162
162
ns = {}
163
163
exec (code , ns )
164
164
unpack_400 = ns ["unpack_400" ]
165
- # Warm up the the function for quickening (PEP 659)
165
+ # Warm up the function for quickening (PEP 659)
166
166
for _ in range (30 ):
167
167
y = unpack_400 (range (400 ))
168
168
self .assertEqual (y , 399 )
You can’t perform that action at this time.
0 commit comments