Skip to content

Commit e70b503

Browse files
authored
Apply suggestions from code review
1 parent 43e1a33 commit e70b503

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎Lib/test/libregrtest/utils.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,12 +337,13 @@ def noop_search_function(name):
337337
_asyncio._clear_caches()
338338

339339
try:
340-
asyncio_coroutines = sys.modules['asyncio.coroutines']
340+
asyncio_coroutines = sys.modules['asyncio.coroutines']
341341
except KeyError:
342342
pass
343343
else:
344344
asyncio_coroutines._iscoroutine_typecache.clear()
345345

346+
346347
def get_build_info():
347348
# Get most important configure and build options as a list of strings.
348349
# Example: ['debug', 'ASAN+MSAN'] or ['release', 'LTO+PGO'].

‎Modules/_asynciomodule.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4235,7 +4235,6 @@ _asyncio__clear_caches_impl(PyObject *module)
42354235
Py_RETURN_NONE;
42364236
}
42374237

4238-
42394238
static int
42404239
module_traverse(PyObject *mod, visitproc visit, void *arg)
42414240
{

0 commit comments

Comments
 (0)