Remove spaces in empty lines (GH-30121)

This commit is contained in:
AN Long 2021-12-16 00:35:21 +08:00 committed by GitHub
parent 342b93f9f2
commit f62420c3d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View 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

View File

@ -534,7 +534,7 @@ DEFAULT_NAMESPACE = dict(
VERSION_MINOR=8, # of testing
PYWINVER=None,
EXE_SUFFIX=None,
ENV_PATH="",
ENV_PYTHONHOME="",
ENV_PYTHONEXECUTABLE="",

View 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