Skip to content
Myr

Merge pull request #3056 from tirkarthi/fix-syntax-warning

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix syntax warning in docstring

authored by David Lord · committed by GitHub · parents 717f9d3, b85425a · Browse files · 1 file+9 added−8 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+9 added−8 removed

  • other:+9 added−8 removed

1 file+9 added−8 removed

modified:flask/app.py+9 added-8 removed
1676 unmodified lines
16771678 return False16791680 def handle_user_exception(self, e):1681 """This method is called whenever an exception occurs that should be1682 handled. A special case are1683 :class:`~werkzeug.exception.HTTPException`\s which are forwarded by1684 this function to the :meth:`handle_http_exception` method. This1685 function will either return a response value or reraise the1686 exception with the same traceback.1681 """This method is called whenever an exception occurs that1682 should be handled. A special case is :class:`~werkzeug1683 .exceptions.HTTPException` which is forwarded to the1684 :meth:`handle_http_exception` method. This function will either1685 return a response value or reraise the exception with the same1686 traceback.16871688 .. versionchanged:: 1.01689 Key errors raised from request data like ``form`` show the the bad1690 key in debug mode rather than a generic bad request message.1689 Key errors raised from request data like ``form`` show the1690 bad key in debug mode rather than a generic bad request1691 message.16921693 .. versionadded:: 0.71694 """1695 exc_type, exc_value, tb = sys.exc_info()
622 unmodified lines