[Python-ideas] os.listdir with current working directory as default

Tarek Ziadé ziade.tarek at gmail.com
Sat May 23 02:01:10 CEST 2009


On Sat, May 23, 2009 at 1:46 AM, Georg Brandl <g.brandl at gmx.net> wrote:
>>
>> os.listdir(os.curdir)  <-> os.listdir()
>
> This seems to be a nice case of EIBTI to me.

I would rather call that a default behavior, otherwise every function
with arguments that have default
values would be nice cases of EIBTI.



More information about the Python-ideas mailing list