aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/websockets/frame.py
diff options
context:
space:
mode:
Diffstat (limited to 'netlib/websockets/frame.py')
-rw-r--r--netlib/websockets/frame.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/netlib/websockets/frame.py b/netlib/websockets/frame.py
index 2b36d461..b58fa289 100644
--- a/netlib/websockets/frame.py
+++ b/netlib/websockets/frame.py
@@ -1,4 +1,3 @@
-from __future__ import absolute_import
import os
import struct
import io
@@ -43,7 +42,7 @@ CLOSE_REASON = utils.BiDi(
)
-class FrameHeader(object):
+class FrameHeader:
def __init__(
self,
@@ -193,7 +192,7 @@ class FrameHeader(object):
return False
-class Frame(object):
+class Frame:
"""
Represents a single WebSockets frame.
Constructor takes human readable forms of the frame components.