Browse Source

Merge pull request #1721 from pra85/patch-1

typo: interchangable -> interchangeable
pull/1723/head
David Lord 9 years ago
parent
commit
f63cd72297
  1. 2
      docs/errorhandling.rst

2
docs/errorhandling.rst

@ -56,7 +56,7 @@ Those two ways are equivalent, but the first one is more clear and leaves
you with a function to call on your whim (and in tests). Note that
:exc:`werkzeug.exceptions.HTTPException` subclasses like
:exc:`~werkzeug.exceptions.BadRequest` from the example and their HTTP codes
are interchangable when handed to the registration methods or decorator
are interchangeable when handed to the registration methods or decorator
(``BadRequest.code == 400``).
You are however not limited to a :exc:`~werkzeug.exceptions.HTTPException`

Loading…
Cancel
Save