From: AN Long Date: Wed, 15 Dec 2021 16:35:21 +0000 (+0800) Subject: Remove spaces in empty lines (GH-30121) X-Git-Tag: v3.11.0a4~190 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f62420c3d3f5d87f2b57e54b2a98682bc835f7b6;p=thirdparty%2FPython%2Fcpython.git Remove spaces in empty lines (GH-30121) --- diff --git a/Lib/inspect.py b/Lib/inspect.py index 746f6e4f9f9f..5d33f0d445fb 100644 --- a/Lib/inspect.py +++ b/Lib/inspect.py @@ -32,7 +32,7 @@ Here are some of the useful functions provided by this module: __author__ = ('Ka-Ping Yee ', 'Yury Selivanov ') - + __all__ = [ "ArgInfo", "Arguments", @@ -131,7 +131,7 @@ __all__ = [ "walktree", ] - + import abc import ast import dis @@ -591,7 +591,7 @@ def getmembers_static(object, predicate=None): without triggering dynamic lookup via the descriptor protocol, __getattr__ or __getattribute__. Optionally, only return members that satisfy a given predicate. - + Note: this function may not be able to retrieve all members that getmembers can fetch (like dynamically created attributes) and may find members that getmembers can't (like descriptors diff --git a/Lib/test/test_getpath.py b/Lib/test/test_getpath.py index 3fb1b280031c..232b68052843 100644 --- a/Lib/test/test_getpath.py +++ b/Lib/test/test_getpath.py @@ -534,7 +534,7 @@ DEFAULT_NAMESPACE = dict( VERSION_MINOR=8, # of testing PYWINVER=None, EXE_SUFFIX=None, - + ENV_PATH="", ENV_PYTHONHOME="", ENV_PYTHONEXECUTABLE="", diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py index c25256dfa26f..56168817a27f 100644 --- a/Lib/test/test_inspect.py +++ b/Lib/test/test_inspect.py @@ -109,7 +109,7 @@ class IsTestBase(unittest.TestCase): def test__all__(self): support.check__all__(self, inspect, not_exported=("k", "v", "mod_dict", "modulesbyfile")) - + def generator_function_example(self): for i in range(2): yield i