From 20ebea1c89a00187db390443ed284e0974ff7222 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 14 Jul 2018 16:25:09 +0200 Subject: Stop making classes inherit from object. --- poezio/decorators.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'poezio/decorators.py') diff --git a/poezio/decorators.py b/poezio/decorators.py index 808c3ce6..7823dbaf 100644 --- a/poezio/decorators.py +++ b/poezio/decorators.py @@ -5,7 +5,7 @@ Module containing various decorators from poezio import common -class RefreshWrapper(object): +class RefreshWrapper: def __init__(self): self.core = None @@ -53,7 +53,7 @@ class RefreshWrapper(object): refresh_wrapper = RefreshWrapper() -class CommandArgParser(object): +class CommandArgParser: """Modify the string argument of the function into a list of strings containing the right number of extracted arguments, or None if we don’t have enough. -- cgit v1.2.3