From fd1b469322277df506c39671b8107a85b943d9cd Mon Sep 17 00:00:00 2001
From: Donald Sebastian Leung
Date: Thu, 8 Oct 2020 09:34:29 +0800
Subject: [PATCH] Remove redundant (object) in rtio.rtlink
---
rtio/rtlink.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/rtio/rtlink.py b/rtio/rtlink.py
index cd9d0e0..8fb5214 100644
--- a/rtio/rtlink.py
+++ b/rtio/rtlink.py
@@ -1,6 +1,6 @@
from nmigen import *
-class OInterface(object):
+class OInterface:
def __init__(self, data_width, address_width=0,
fine_ts_width=0, enable_replace=True,
delay=0):
@@ -32,7 +32,7 @@ class OInterface(object):
other.enable_replace,
other.delay)
-class IInterface(object):
+class IInterface:
def __init__(self, data_width,
timestamped=True, fine_ts_width=0, delay=0):
self.stb = Signal()
@@ -58,7 +58,7 @@ class IInterface(object):
get_fine_ts_width(other),
other.delay)
-class Interface(object):
+class Interface:
def __init__(self, o, i=None):
self.o = o
self.i = i