diff options
Diffstat (limited to 'src/argaze/TobiiGlassesPro2/TobiiNetworkInterface.py')
-rw-r--r-- | src/argaze/TobiiGlassesPro2/TobiiNetworkInterface.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/argaze/TobiiGlassesPro2/TobiiNetworkInterface.py b/src/argaze/TobiiGlassesPro2/TobiiNetworkInterface.py index 1576975..c65b121 100644 --- a/src/argaze/TobiiGlassesPro2/TobiiNetworkInterface.py +++ b/src/argaze/TobiiGlassesPro2/TobiiNetworkInterface.py @@ -29,7 +29,7 @@ except ImportError: socket.IPPROTO_IPV6 = 41 -Socket = TypeVar('socket', bound="socket") +SocketType = TypeVar('socket', bound="socket") # Type definition for type annotation convenience class TobiiNetworkInterface(): @@ -67,7 +67,7 @@ class TobiiNetworkInterface(): self.__peer = (self.address, self.udpport) - def make_socket(self) -> Socket: + def make_socket(self) -> SocketType: """Create a socket to enable network communication.""" iptype = socket.AF_INET |