This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients georg.brandl, larry, martin.panter, python-dev, rhettinger, serhiy.storchaka, taleinat
Date 2017-01-20.17:07:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484932057.81.0.23608103108.issue20186@psf.upfronthosting.co.za>
In-reply-to
Content
The application of AC to enumerate() lost information about the start argument and the signature of the call.   We're going backwards.

---- New help -----------------------------------------------------
class enumerate(object)
 |  Return an enumerate object.
 |
 |    iterable
 |      an object supporting iteration
 |
 |  The enumerate object yields pairs containing a count (from start, which
 |  defaults to zero) and a value yielded by the iterable argument.
 |
 |  enumerate is useful for obtaining an indexed list:
 |      (0, seq[0]), (1, seq[1]), (2, seq[2]), ...

---- Old help -----------------------------------------------------

class enumerate(object)
 |  enumerate(iterable[, start]) -> iterator for index, value of iterable
 |  
 |  Return an enumerate object.  iterable must be another object that supports
 |  iteration.  The enumerate object yields pairs containing a count (from
 |  start, which defaults to zero) and a value yielded by the iterable argument.
 |  enumerate is useful for obtaining an indexed list:
 |      (0, seq[0]), (1, seq[1]), (2, seq[2]), ...


Also, reversed() lost the indication of its signature:
      reversed(sequence) -> reverse iterator over values of the sequence

And the help doesn't have the usual:

    iterable
    |      an object supporting iteration
History
Date User Action Args
2017-01-20 17:07:37rhettingersetrecipients: + rhettinger, georg.brandl, taleinat, larry, python-dev, martin.panter, serhiy.storchaka
2017-01-20 17:07:37rhettingersetmessageid: <1484932057.81.0.23608103108.issue20186@psf.upfronthosting.co.za>
2017-01-20 17:07:37rhettingerlinkissue20186 messages
2017-01-20 17:07:37rhettingercreate