Skip to content

Commit fae2755

Browse files
committed
Use standard super() for __new__
1 parent 7514919 commit fae2755

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_wiznet5k/adafruit_wiznet5k_socketpool.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class SocketPool(SocketPoolContants):
5757
def __new__(cls, iface: WIZNET5K):
5858
# We want to make sure to return the same pool for the same interface
5959
if iface not in _global_socketpool:
60-
_global_socketpool[iface] = object.__new__(cls)
60+
_global_socketpool[iface] = super().__new__(cls)
6161
return _global_socketpool[iface]
6262

6363
def __init__(self, iface: WIZNET5K):

0 commit comments

Comments
 (0)