diff pytouhou/network.py @ 615:d1f0bb0b7a17

Don’t inherit explicitely from object, we are not on Python 2.7 anymore. :)
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 28 Mar 2015 21:40:51 +0100
parents 711c75115675
children d18c0bf11138
line wrap: on
line diff
--- a/pytouhou/network.py
+++ b/pytouhou/network.py
@@ -9,7 +9,7 @@ logger = get_logger(__name__)
 
 MSG_STRUCT = Struct('!HHH')
 
-class Network(object):
+class Network:
     def __init__(self, port=8080, dest=None, selected_player=0):
         self.frame = 0
         self.keystate = 0