mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Make generator repr consistent with function and code object repr.
This commit is contained in:
parent
a8eaf8faf3
commit
5ffad6646e
3 changed files with 3 additions and 3 deletions
|
|
@ -92,7 +92,7 @@ Verify that parenthesis are required when used as a keyword argument value
|
|||
Verify that parenthesis are required when used as a keyword argument value
|
||||
|
||||
>>> dict(a = (i for i in xrange(10))) #doctest: +ELLIPSIS
|
||||
{'a': <<genexpr> generator object at ...>}
|
||||
{'a': <generator object <genexpr> at ...>}
|
||||
|
||||
Verify early binding for the outermost for-expression
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue