From f38bb06672414c20338ee4dabacb168d3b8720fd Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Wed, 8 Aug 2018 15:26:48 +0200 Subject: timed_events, plugin: Remove some DeprecationWarning on invalid escapes in docstrings. --- poezio/timed_events.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'poezio/timed_events.py') diff --git a/poezio/timed_events.py b/poezio/timed_events.py index 3610a1ed..f5b87f3c 100644 --- a/poezio/timed_events.py +++ b/poezio/timed_events.py @@ -29,7 +29,7 @@ class DelayedEvent: :param int delay: The number of seconds. :param function callback: The handler that will be executed. - :param \*args: Optional arguments passed to the handler. + :param args: Optional arguments passed to the handler. """ self.callback = callback self.args = args @@ -51,7 +51,7 @@ class TimedEvent(DelayedEvent): :param datetime.datetime date: Time at which the callback must be run. :param function callback: The handler that will be executed. - :param \*args: Optional arguments passed to the handler. + :param args: Optional arguments passed to the handler. """ delta = date - datetime.now() delay = delta.total_seconds() -- cgit v1.2.3