Hey!

I've been using web.seeother() without the 'raise' at the end of some
POST functions, and it works as I expected. But I've seen it be used
with a 'raise' in front of it, and I'm curious as to why it is often
used like that. Is it just to break out of the function? Couldn't
'web.seeother(); return' or even 'return web.seeother()' be used as
well? I'm a little confused because raise is typically used for
exceptions but one may call web.seeother() even where there is nothing
exceptionally going on.

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to