Hi all,

I just have a little suggestion about this doc page
http://werkzeug.pocoo.org/docs/exceptions/ . I am not sure if it will
improve anything but I thought I'd share my thoughts anyway.

The code example on this page reads:

except HTTPException, e:
        return e

When I first looked at it I thought that it was a typo and that
instead it should read like this:


except HTTPException, e:
        return e(environ, start_response)

Then I noticed the @responder decorator and had to look it up to see
what it does. So in order to understand how exceptions work I had to
first figure out how the @responder works. I found it a little
unfortunate. Maybe the doc would be clearer if the code example didn't
use the decorator.
Sorry if this sounds like nitpicking.

And thanks for the great library!

kv

-- 
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" 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/pocoo-libs?hl=en.

Reply via email to