Assertions are bad, m'kay?
ben+python at benfinney.id.au
Sat Mar 8 01:22:21 CET 2014
Dan Stromberg <drsalists at gmail.com> writes:
> BTW, what about:
> if value >= 3:
> raise AssertionError('value must be >= 3')
That would be very confusing, since it would only appear when the value
is >= 3. Were you making some other point?
\ “If this is your first visit to the USSR, you are welcome to |
`\ it.” —hotel room, Moscow |
More information about the Python-list