diff options
author | Larry Hastings <larry@hastings.org> | 2014-01-24 06:17:25 -0800 |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2014-01-24 06:17:25 -0800 |
commit | f4c0a31a47232b095911314ea560ab5269e160b9 (patch) | |
tree | f2582ac1f8a6526f688d2db8504fc2cb0df0d4ff /Lib/test/test_genexps.py | |
parent | 1323e1578fce85101d48317e5dc5e851c8eca877 (diff) | |
download | cpython-f4c0a31a47232b095911314ea560ab5269e160b9.tar.gz |
Issue #20189: Four additional builtin types (PyTypeObject,
PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type)
have been modified to provide introspection information for builtins.
Also: many additional Lib, test suite, and Argument Clinic fixes.
Diffstat (limited to 'Lib/test/test_genexps.py')
-rw-r--r-- | Lib/test/test_genexps.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_genexps.py b/Lib/test/test_genexps.py index 203b336fde..74957cb8f4 100644 --- a/Lib/test/test_genexps.py +++ b/Lib/test/test_genexps.py @@ -222,8 +222,8 @@ Check that generator attributes are present True >>> from test.support import HAVE_DOCSTRINGS - >>> print(g.__next__.__doc__ if HAVE_DOCSTRINGS else 'x.__next__() <==> next(x)') - x.__next__() <==> next(x) + >>> print(g.__next__.__doc__ if HAVE_DOCSTRINGS else 'Implements next(self).') + Implements next(self). >>> import types >>> isinstance(g, types.GeneratorType) True |