]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove spaces in empty lines (GH-30121)
authorAN Long <aisk@users.noreply.github.com>
Wed, 15 Dec 2021 16:35:21 +0000 (00:35 +0800)
committerGitHub <noreply@github.com>
Wed, 15 Dec 2021 16:35:21 +0000 (01:35 +0900)
Lib/inspect.py
Lib/test/test_getpath.py
Lib/test/test_inspect.py

index 746f6e4f9f9f06eed394418383d017f64963f125..5d33f0d445fb9a6ad3232ac7eabf0ab8bf9793bb 100644 (file)
@@ -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
index 3fb1b280031c8a456caba894c255a191e7f313f8..232b6805284354019967d6a633b3cf7df9b60ecb 100644 (file)
@@ -534,7 +534,7 @@ DEFAULT_NAMESPACE = dict(
     VERSION_MINOR=8,    # of testing
     PYWINVER=None,
     EXE_SUFFIX=None,
-    
+
     ENV_PATH="",
     ENV_PYTHONHOME="",
     ENV_PYTHONEXECUTABLE="",
index c25256dfa26fdd1dcf3517c912cd81bc2bc16166..56168817a27f24d7f9bf31844c249188adbe13ea 100644 (file)
@@ -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