summaryrefslogtreecommitdiff
path: root/poezio/plugin.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-07-14 16:25:09 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-07-14 16:25:09 +0200
commit20ebea1c89a00187db390443ed284e0974ff7222 (patch)
treee276ce333272f8f6e3a74c054e99c4b3ff14c7ce /poezio/plugin.py
parent3acfd83c243fe0ed0ec0b502aaabf46f9dd3aec3 (diff)
downloadpoezio-20ebea1c89a00187db390443ed284e0974ff7222.tar.gz
poezio-20ebea1c89a00187db390443ed284e0974ff7222.tar.bz2
poezio-20ebea1c89a00187db390443ed284e0974ff7222.tar.xz
poezio-20ebea1c89a00187db390443ed284e0974ff7222.zip
Stop making classes inherit from object.
Diffstat (limited to 'poezio/plugin.py')
-rw-r--r--poezio/plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/plugin.py b/poezio/plugin.py
index b327e17d..ff675026 100644
--- a/poezio/plugin.py
+++ b/poezio/plugin.py
@@ -95,7 +95,7 @@ class SafetyMetaclass(type):
return type.__new__(meta, name, bases, class_dict)
-class PluginWrap(object):
+class PluginWrap:
"""
A wrapper to implicitly pass the module name to PluginAPI
"""
@@ -110,7 +110,7 @@ class PluginWrap(object):
return partial(getattr(api, name), module)
-class PluginAPI(object):
+class PluginAPI:
"""
The public API exposed to the plugins.
Its goal is to limit the use of the raw Core object