Skip to content

Commit 06281a5

Browse files
committed
Use standard super() for __new__
1 parent 35fd193 commit 06281a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_esp32spi/adafruit_esp32spi_socketpool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class SocketPool(SocketPoolContants):
4646
def __new__(cls, iface: ESP_SPIcontrol):
4747
# We want to make sure to return the same pool for the same interface
4848
if iface not in _global_socketpool:
49-
_global_socketpool[iface] = object.__new__(cls)
49+
_global_socketpool[iface] = super().__new__(cls)
5050
return _global_socketpool[iface]
5151

5252
def __init__(self, iface: ESP_SPIcontrol):

0 commit comments

Comments
 (0)