summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAN Long <aisk@users.noreply.github.com>2021-12-15 16:35:21 (GMT)
committerGitHub <noreply@github.com>2021-12-15 16:35:21 (GMT)
commitf62420c3d3f5d87f2b57e54b2a98682bc835f7b6 (patch)
tree3cf9b4abd5f46be10d6d80e0d23bc684f5a74056 /Lib
parent342b93f9f28746abb7b221a61d5a9b26ccbb395a (diff)
downloadcpython-f62420c3d3f5d87f2b57e54b2a98682bc835f7b6.zip
cpython-f62420c3d3f5d87f2b57e54b2a98682bc835f7b6.tar.gz
cpython-f62420c3d3f5d87f2b57e54b2a98682bc835f7b6.tar.bz2
Remove spaces in empty lines (GH-30121)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/inspect.py6
-rw-r--r--Lib/test/test_getpath.py2
-rw-r--r--Lib/test/test_inspect.py2
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 <ping@lfw.org>',
'Yury Selivanov <yselivanov@sprymix.com>')
-
+
__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