Skip to content

Commit a7b4e83

Browse files
committed
Merge branch 'main' into gh_128772
2 parents 86924f2 + 40a4d88 commit a7b4e83

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

Lib/asyncio/futures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class Future:
6262
# that it is not compatible by setting this to None.
6363
# - It is set by __iter__() below so that Task.__step() can tell
6464
# the difference between
65-
# `await Future()` or`yield from Future()` (correct) vs.
65+
# `await Future()` or `yield from Future()` (correct) vs.
6666
# `yield Future()` (incorrect).
6767
_asyncio_future_blocking = False
6868

Lib/test/test_doctest/test_doctest.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2860,7 +2860,7 @@ def test_testfile(): r"""
28602860
>>> _colorize.COLORIZE = save_colorize
28612861
"""
28622862

2863-
class TestImporter(importlib.abc.MetaPathFinder, importlib.abc.ResourceLoader):
2863+
class TestImporter(importlib.abc.MetaPathFinder):
28642864

28652865
def find_spec(self, fullname, path, target=None):
28662866
return importlib.util.spec_from_file_location(fullname, path, loader=self)
@@ -2869,6 +2869,12 @@ def get_data(self, path):
28692869
with open(path, mode='rb') as f:
28702870
return f.read()
28712871

2872+
def exec_module(self, module):
2873+
raise ImportError
2874+
2875+
def create_module(self, spec):
2876+
return None
2877+
28722878
class TestHook:
28732879

28742880
def __init__(self, pathdir):

Misc/NEWS.d/3.10.0b1.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ result from ``entry_points()`` as deprecated.
941941

942942
..
943943
944-
.. gh: 47383
944+
.. gh-issue: 47383
945945
.. date: 2021-04-08-19-32-26
946946
.. nonce: YI1hdL
947947
.. section: Library

Misc/NEWS.d/3.11.0b1.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ planned). Patch by Alex Waygood.
570570

571571
..
572572
573-
.. gh: 78157
573+
.. gh-issue: 78157
574574
.. date: 2022-05-05-20-40-45
575575
.. nonce: IA_9na
576576
.. section: Library
@@ -1289,7 +1289,7 @@ Deprecate the chunk module.
12891289

12901290
..
12911291
1292-
.. gh: 91498
1292+
.. gh-issue: 91498
12931293
.. date: 2022-04-10-08-39-44
12941294
.. nonce: 8oII92
12951295
.. section: Library

0 commit comments

Comments
 (0)