diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-09-07 11:04:41 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-09-07 11:04:41 (GMT) |
commit | 0f0eac431f6abcc5f6853b26e848b15f848e8844 (patch) | |
tree | 3d671943461614610c236e3d3e8b3cfc98a2d18d /Lib/inspect.py | |
parent | 0be894b2f6ca17204922399d6982f0b8a9dc59a1 (diff) | |
download | cpython-0f0eac431f6abcc5f6853b26e848b15f848e8844.zip cpython-0f0eac431f6abcc5f6853b26e848b15f848e8844.tar.gz cpython-0f0eac431f6abcc5f6853b26e848b15f848e8844.tar.bz2 |
Issue #27993: Fix problems with plural objects in docs and comments
Diffstat (limited to 'Lib/inspect.py')
-rw-r--r-- | Lib/inspect.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/inspect.py b/Lib/inspect.py index e830eb6..ca1d551 100644 --- a/Lib/inspect.py +++ b/Lib/inspect.py @@ -171,9 +171,8 @@ def isfunction(object): def isgeneratorfunction(object): """Return true if the object is a user-defined generator function. - Generator function objects provides same attributes as functions. - - See help(isfunction) for attributes listing.""" + Generator function objects provide the same attributes as functions. + See help(isfunction) for a list of attributes.""" return bool((isfunction(object) or ismethod(object)) and object.__code__.co_flags & CO_GENERATOR) |