Message188402
> For me s.expandtabs(3) looks more readable than s.expandtabs(tabsize=3).
I disagree: I think the second is more readable, and I think it's especially helpful to those not intimately familiar with the language (which probably accounts for the vast majority of Python users) to see code like "s.expandtabs(tabsize=3)", or "int(43, base=8)", or "s.splitlines(keepends=True)": such code is instantly understandable, whereas someone seeing "s.splitlines(True)" likely has to stop and wonder what the "True" is doing. |
|
Date |
User |
Action |
Args |
2013-05-04 20:03:05 | mark.dickinson | set | recipients:
+ mark.dickinson, ezio.melotti, eric.araujo, serhiy.storchaka |
2013-05-04 20:03:05 | mark.dickinson | set | messageid: <1367697785.42.0.0595308299537.issue17806@psf.upfronthosting.co.za> |
2013-05-04 20:03:05 | mark.dickinson | link | issue17806 messages |
2013-05-04 20:03:05 | mark.dickinson | create | |
|