Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #82901
| From | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| Subject | Re: learning to use iterators |
| Date | 2014-12-25 06:58 +1100 |
| References | <878uhyb3hq.fsf@net82.ceos.umanitoba.ca> <CALwzid=CjpFPHUhPEbUy537+GCD_jnnZMZdzUx5x9y5=uVsO9A@mail.gmail.com> <85egrq12jq.fsf@benfinney.id.au> <m7csk3$5ij$1@ger.gmane.org> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.17189.1419451115.18130.python-list@python.org> (permalink) |
Terry Reedy <tjreedy@udel.edu> writes:
> On 12/23/2014 4:25 PM, Ben Finney wrote:
> > To be clear: there's nothing about parentheses that produce a
> > generator expression.
>
> Incorrect; parentheses *are* as a part of 'generator expression'.
> From the doc:
> generator_expression ::= "(" expression comp_for ")"
Thanks for the correction.
--
\ “Yesterday I saw a subliminal advertising executive for just a |
`\ second.” —Steven Wright |
_o__) |
Ben Finney
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: learning to use iterators Ben Finney <ben+python@benfinney.id.au> - 2014-12-25 06:58 +1100
csiph-web