Skip to content

Commit 259af97

Browse files
committed
Delint tests + docs (fixes CI), alphabetize names.
1 parent e687d88 commit 259af97

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

Doc/whatsnew/3.10.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ Other Language Changes
279279
280280
* Assignment expressions can now be used unparenthesized within set literals
281281
and set comprehensions, as well as in sequence indexes (but not slices).
282-
282+
283283
* Functions have a new ``__builtins__`` attribute which is used to look for
284284
builtin symbols when a function is executed, instead of looking into
285285
``__globals__['__builtins__']``. The attribute is initialized from
@@ -289,7 +289,7 @@ Other Language Changes
289289
* Two new builtin functions -- :func:`aiter` and :func:`anext` have been added
290290
to provide asynchronous counterparts to :func:`iter` and :func:`next`,
291291
respectively.
292-
(Contributed by Joshua Bronson, Justin Wang and Daniel Pope in :issue:`31861`)
292+
(Contributed by Josh Bronson, Daniel Pope, and Justin Wang in :issue:`31861`.)
293293
294294
295295
New Modules

Lib/test/test_asyncgen.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,11 +400,9 @@ async def consume():
400400

401401
def test_async_gen_aiter_class(self):
402402
results = []
403-
loop = self.loop
404403
class Gen:
405404
async def __aiter__(self):
406405
yield 1
407-
await asyncio.sleep(0.01)
408406
yield 2
409407
g = Gen()
410408
async def consume():
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Add builtins.aiter and builtins.anext.
2-
Patch by Daniel Pope (@lordmauve), Joshua Bronson (@jab), and Justin Wang (@justin39).
2+
Patch by Josh Bronson (@jab), Daniel Pope (@lordmauve), and Justin Wang (@justin39).

0 commit comments

Comments
 (0)