From 426742b3e2051425cfd88b1e492234c97ebb06b0 Mon Sep 17 00:00:00 2001 From: Zhiwei <43905414+ChihweiLHBird@users.noreply.github.com> Date: Tue, 7 Dec 2021 03:10:04 -0700 Subject: [PATCH] Fix `Sanic.handle_exception` Method's Type Doc (#2333) * Fix type doc * Remove explicit type defines in docstring --- sanic/app.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/sanic/app.py b/sanic/app.py index 5c0a010e..fd9ebd14 100644 --- a/sanic/app.py +++ b/sanic/app.py @@ -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(