Re: Interesting list Validity (True/False)



On Sat, 2007-05-12 at 17:55 -0700, mensanator@xxxxxxx wrote:
On May 12, 12:56?pm, Carsten Haese <cars...@xxxxxxxxxxx> wrote:
On Fri, 2007-05-11 at 14:26 -0700, mensana...@xxxxxxx wrote:
if arg==True:

tests the type property (whether a list is a boolean).

That sounds nonsensical and incorrect. Please explain what you mean.

<quote>
Sec 2.2.3:
Objects of different types, except different numeric types and
different string types, never compare equal;
</quote>

That doesn't explain what you mean. How does "if arg==True" test whether
"a list is a boolean"?

--
Carsten Haese
http://informixdb.sourceforge.net


.



Relevant Pages

  • Re: Interesting list Validity (True/False)
    ... That sounds nonsensical and incorrect. ... except different numeric types and ... different string types, never compare equal; ...
    (comp.lang.python)
  • Re: Subgroups of Z x Z
    ... as is incorrect not to quote me *precisely*. ... scientist who marks quotes by quotation marks and knows how to quote ... am not very fond of communications like that wasting our precious time. ...
    (sci.math)
  • Re: a different twist on "Old Movie Quotes"
    ... Assuming that is the same film known ... Hope you got this from the quote and ... The only silent movie I can think of where people ... Incorrect. ...
    (rec.puzzles)
  • Re: Two wheels and a minor.
    ... But why not just try being civil, ok poke my eye out ... >> quote an incorrect reference...etc but at least prevent yourself from ...
    (uk.rec.cars.modifications)
  • Re: a different twist on "Old Movie Quotes"
    ... Assuming that is the same film known ... Hope you got this from the quote and ... Incorrect. ... Metropolis. ...
    (rec.puzzles)