Need help with Python class idioms
Jonathan Daugherty
cygnus at cprogrammer.org
Thu Jan 22 00:25:49 CET 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