bool value 'False' no memory address?

Jakub Stolarski jakub.stolarski at gmail.com
Wed Apr 4 06:41:57 EDT 2007


On Apr 4, 12:36 pm, "autin" <plutoinch... at gmail.com> wrote:
> such as:>>>b = False
> >>>id(b)
>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> TypeError: 'bool' object is not callable
>
> ---
> how to desc it?

>>> b = False
>>> id(b)
135311308
>>>

python 2.4, FreeBSD 6.2




More information about the Python-list mailing list