From f62420c3d3f5d87f2b57e54b2a98682bc835f7b6 Mon Sep 17 00:00:00 2001 From: AN Long Date: Thu, 16 Dec 2021 00:35:21 +0800 Subject: Remove spaces in empty lines (GH-30121) --- Lib/inspect.py | 6 +++--- Lib/test/test_getpath.py | 2 +- Lib/test/test_inspect.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Lib/inspect.py b/Lib/inspect.py index 746f6e4..5d33f0d 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 3fb1b28..232b680 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 c25256d..5616881 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 -- cgit v0.12