From 8360f70024330eeeb5c53d29e4a05194f872b511 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Mon, 17 Oct 2016 15:15:22 +1300 Subject: First-order conversion to Python3-only - Zap various occurrences of Python2 in docs and scripts - Remove six from netlib, and some other places where obvious project-wide search and replace works. --- netlib/basetypes.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'netlib/basetypes.py') diff --git a/netlib/basetypes.py b/netlib/basetypes.py index 9d6c60ba..49892ffc 100644 --- a/netlib/basetypes.py +++ b/netlib/basetypes.py @@ -1,9 +1,7 @@ -import six import abc -@six.add_metaclass(abc.ABCMeta) -class Serializable(object): +class Serializable(metaclass=abc.ABCMeta): """ Abstract Base Class that defines an API to save an object's state and restore it later on. """ -- cgit v1.2.3