Argument of the bool function
invalid at invalid.invalid
Sun Apr 10 05:35:12 CEST 2011
On 2011-04-09, Lie Ryan <lie.1296 at gmail.com> wrote:
> On 04/09/11 08:59, candide wrote:
>> Le 09/04/2011 00:03, Ethan Furman a ?crit :
>>> > bool([x])
>> Not very meaningful, isn't it ?
> The error says it unambiguously, dir() does not take *keyword*
> arguments; instead dir() takes *positional* argument:
> dir("Explicit is better than implicit")
I think the point is that both cases are documented exactly the same.
More information about the Python-list