Message295081
Thank you. I've added that.
This may seem like an odd question, but should I assume that the docs should always match the code? For example, in the Functional HOWTO, I wasn't sure if the arguments were left off purposely or if it was just something that hadn't been updated. If the docs should always match, then I wouldn't have to ask so many questions if I see another place where this happens.
Also, the example for enumerate is this:
f = open('data.txt', 'r')
for i, line in enumerate(f):
if line.strip() == '':
print('Blank line at line #%i' % i)
Is it code churn to replace the old style string formatting or is that something else that should be done as clean-up? |
|
Date |
User |
Action |
Args |
2017-06-03 15:33:31 | cheryl.sabella | set | recipients:
+ cheryl.sabella, rhettinger, docs@python |
2017-06-03 15:33:31 | cheryl.sabella | set | messageid: <1496504011.02.0.0111244449509.issue30538@psf.upfronthosting.co.za> |
2017-06-03 15:33:31 | cheryl.sabella | link | issue30538 messages |
2017-06-03 15:33:30 | cheryl.sabella | create | |
|