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/windows/data_forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'poezio/windows/data_forms.py') diff --git a/poezio/windows/data_forms.py b/poezio/windows/data_forms.py index c600273e..d5ee29c5 100644 --- a/poezio/windows/data_forms.py +++ b/poezio/windows/data_forms.py @@ -13,7 +13,7 @@ from poezio.windows.inputs import Input from poezio.theming import to_curses_attr, get_theme -class FieldInput(object): +class FieldInput: """ All input types in a data form should inherit this class, in addition with windows.Input or any relevant class from the @@ -345,7 +345,7 @@ class TextPrivateWin(TextSingleWin): return 'Edit the secret text' -class FormWin(object): +class FormWin: """ A window, with some subwins (the various inputs). On init, create all the subwins. -- cgit v1.2.3