[Python-checkins] Remove spaces in empty lines (GH-30121)

corona10 webhook-mailer at python.org
Wed Dec 15 11:35:31 EST 2021


https://github.com/python/cpython/commit/f62420c3d3f5d87f2b57e54b2a98682bc835f7b6
commit: f62420c3d3f5d87f2b57e54b2a98682bc835f7b6
branch: main
author: AN Long <aisk at users.noreply.github.com>
committer: corona10 <donghee.na92 at gmail.com>
date: 2021-12-16T01:35:21+09:00
summary:

Remove spaces in empty lines (GH-30121)

files:
M Lib/inspect.py
M Lib/test/test_getpath.py
M Lib/test/test_inspect.py

diff --git a/Lib/inspect.py b/Lib/inspect.py
index 746f6e4f9f9f0..5d33f0d445fb9 100644
--- a/Lib/inspect.py
+++ b/Lib/inspect.py
@@ -32,7 +32,7 @@
 
 __author__ = ('Ka-Ping Yee <ping at lfw.org>',
               'Yury Selivanov <yselivanov at sprymix.com>')
-              
+
 __all__ = [
     "ArgInfo",
     "Arguments",
@@ -131,7 +131,7 @@
     "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 3fb1b280031c8..232b680528435 100644
--- a/Lib/test/test_getpath.py
+++ b/Lib/test/test_getpath.py
@@ -534,7 +534,7 @@ def test_symlink_buildpath_macos(self):
     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 c25256dfa26fd..56168817a27f2 100644
--- a/Lib/test/test_inspect.py
+++ b/Lib/test/test_inspect.py
@@ -109,7 +109,7 @@ def istest(self, predicate, exp):
 
     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



More information about the Python-checkins mailing list