From c5f2487e97775be8af6d8afc711028afc49a7027 Mon Sep 17 00:00:00 2001 From: okue Date: Mon, 9 Dec 2019 20:34:11 +0900 Subject: [PATCH] remove docstring violating flake8-docstring --- linebot/webhook.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linebot/webhook.py b/linebot/webhook.py index e7ada2eb..035b3ef6 100644 --- a/linebot/webhook.py +++ b/linebot/webhook.py @@ -193,7 +193,7 @@ def __init__(self, channel_secret): self._default = None def add(self, event, message=None): - """[Decorator] Add handler method. + """Add handler method. :param event: Specify a kind of Event which you want to handle :type event: T <= :py:class:`linebot.models.events.Event` class @@ -215,7 +215,7 @@ def decorator(func): return decorator def default(self): - """[Decorator] Set default handler method. + """Set default handler method. :rtype: func :return: decorator