Need help with Python class idioms
Jonathan Daugherty
cygnus at cprogrammer.org
Wed Jan 21 18:25:49 EST 2004
# ... what if mandatoryVar1 was set to False?
To all who have responded to me as such: of course, how one
treats the variable in a boolean context depends on what its
semantically "false" value is. You do the math; I just
provided a syntax alternative. :)
--
Jonathan Daugherty
http://www.cprogrammer.org
"It's a book about a Spanish guy called Manual, you should read it."
-- Dilbert
More information about the Python-list
mailing list