Todd DeLuca <[email protected]> added the comment: That was my first thought, but if python2.5 compatibility is important, I don't think using the start parameter is an option.
http://docs.python.org/library/functions.html#enumerate "Changed in version 2.6: The start parameter was added." Regards, Todd On Fri, May 25, 2012 at 9:59 PM, Sharif Nassar <[email protected]>wrote: > > Sharif Nassar <[email protected]> added the comment: > > Even better: > > diff -r 747eec42e7ae distutils2/create.py > --- a/distutils2/create.py Mon May 21 17:01:44 2012 -0400 > +++ b/distutils2/create.py Fri May 25 19:04:22 2012 -0700 > @@ -674,7 +674,7 @@ > %s > > Status''' % '\n'.join('%s - %s' % (i, maturity_name(n)) > - for i, n in enumerate(PROJECT_MATURITY)) > + for i, n in enumerate(PROJECT_MATURITY, > 1 )) > while True: > choice = ask(dedent(maturity_question), required=False) > > ---------- > nosy: +Sharif.Nassar > > _______________________________________ > Python tracker <[email protected]> > <http://bugs.python.org/issue14858> > _______________________________________ > ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue14858> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
