diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-09-07 23:36:43 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-09-07 23:36:43 (GMT) |
commit | 1aa642f6bd8e7f6315721201165efa873e77259b (patch) | |
tree | c42aa75c38096b648fef5355f6969a388896e0d7 /Lib/inspect.py | |
parent | 1c748f383033df1126f2f79f051eee440ba08449 (diff) | |
parent | 0f0eac431f6abcc5f6853b26e848b15f848e8844 (diff) | |
download | cpython-1aa642f6bd8e7f6315721201165efa873e77259b.zip cpython-1aa642f6bd8e7f6315721201165efa873e77259b.tar.gz cpython-1aa642f6bd8e7f6315721201165efa873e77259b.tar.bz2 |
Issue #27993: Merge plural fixes from 3.5
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 45d2110..72c1691 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) |