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 Mark Byrne
Recipients Mark Byrne
Date 2017-09-11.10:43:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1505126626.48.0.822929145788.issue31417@psf.upfronthosting.co.za>
In-reply-to
Content
To make code explicit and more readable

Use the enumerate function to replace occurrences of the pattern:

for i in range(len(sources)):
    src = sources[i]
History
Date User Action Args
2017-09-11 10:43:46Mark Byrnesetrecipients: + Mark Byrne
2017-09-11 10:43:46Mark Byrnesetmessageid: <1505126626.48.0.822929145788.issue31417@psf.upfronthosting.co.za>
2017-09-11 10:43:46Mark Byrnelinkissue31417 messages
2017-09-11 10:43:46Mark Byrnecreate