Status of PEP's?
Andy Gimblett
gimbo at ftech.net
Wed Mar 6 12:08:01 EST 2002
On Wed, Mar 06, 2002 at 01:52:42PM +0000, Andy Gimblett wrote:
> This just came to me:
>
> for index in indices(items):
> pass
>
> or maybe better yet:
>
> for index in items.indices():
> pass
>
> ?
I've just seen PEP 212 which contains this very proposal... Should
have known someone would have thought of this before! :-)
-Andy
--
Andy Gimblett - Programmer - Frontier Internet Services Limited
Tel: 029 20 820 044 Fax: 029 20 820 035 http://www.frontier.net.uk/
Statements made are at all times subject to Frontier's Terms and
Conditions of Business, which are available upon request.
More information about the Python-list
mailing list