Fix Sanic.handle_exception Method's Type Doc (#2333)

* Fix type doc

* Remove explicit type defines in docstring
This commit is contained in:
Zhiwei 2021-12-07 03:10:04 -07:00 committed by GitHub
parent ab35121864
commit 426742b3e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -724,9 +724,7 @@ class Sanic(BaseSanic, metaclass=TouchUpMeta):
A handler that catches specific exceptions and outputs a response.
:param request: The current request object
:type request: :class:`SanicASGITestClient`
:param exception: The exception that was raised
:type exception: BaseException
:raises ServerError: response 500
"""
await self.dispatch(