File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 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
12331233 completely disables typechecking for a function or class.
12341234
12351235 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
12371237 ``Annotated `` annotation. A tool or library encountering an ``Annotated `` type
12381238 can scan through the metadata elements to determine if they are of interest
12391239 (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.
921921Docstrings produced by :func: `~collections.namedtuple ` can now be updated::
922922
923923 Point = namedtuple('Point', ['x', 'y'])
924- Point.__doc__ += ': Cartesian coodinate '
924+ Point.__doc__ += ': Cartesian coordinate '
925925 Point.x.__doc__ = 'abscissa'
926926 Point.y.__doc__ = 'ordinate'
927927
Original file line number Diff line number Diff line change @@ -1980,7 +1980,7 @@ def __getattr__(self, attr):
19801980 ns = {}
19811981 exec (code , ns )
19821982 number_attrs = ns ["number_attrs" ]
1983- # Warm up the the function for quickening (PEP 659)
1983+ # Warm up the function for quickening (PEP 659)
19841984 for _ in range (30 ):
19851985 self .assertEqual (number_attrs (Numbers ()), list (range (280 )))
19861986
Original file line number Diff line number Diff line change @@ -317,7 +317,7 @@ def f():
317317 sneaky_frame_object = None
318318 gc .enable ()
319319 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
321321 # one that was *requested* second, but *created* first):
322322 self .assertIs (g .gi_frame , sneaky_frame_object )
323323 finally :
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ def test_extended_oparg_not_ignored(self):
162162 ns = {}
163163 exec (code , ns )
164164 unpack_400 = ns ["unpack_400" ]
165- # Warm up the the function for quickening (PEP 659)
165+ # Warm up the function for quickening (PEP 659)
166166 for _ in range (30 ):
167167 y = unpack_400 (range (400 ))
168168 self .assertEqual (y , 399 )
You can’t perform that action at this time.
0 commit comments