On 04/11/2011 04:59 PM, Andrej Mitrovic wrote:
It looks like an awkward workaround for that feature called named arguments.

True, but only for the case of yes/no; in this case only, the bool type provides proper *constants* which *meaning* is obvious. Else, you need an enum anyway, even with named args.
    f = File(path="f.txt", mode=2);

Denis
--
_________________
vita es estrany
spir.wikidot.com

Reply via email to