Le 06/05/2011 00:52, Terry Reedy a écrit : > On 5/5/2011 4:55 PM, Raymond Hettinger wrote: >> Either way, the code is simpler by just using the default. > I thought about this and decided that the purpose of having defaults > is > so one does not have to always spell it out. So use it. Readers can > always look it up and learn. Agreed. I thought about something similar after Victor’s commit that changed open(mode='rU') to use just 'r': Why not remove the mode argument entirely when it is the default value? Regards
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4