Charles Krug  <[EMAIL PROTECTED]> wrote:
> Do I *coughs* simply *coughs* trap the exception created by:
>
>    for v in x:
>
>when v is a scaler quantity?

Sure.  Why not?  If you're coming from a type-bondage language like
C++ or Java, it probabliy feels strange, but it's the Python way.  It
looks like what you want to catch is TypeError.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to