=== modified file 'v4l2.py'
--- v4l2.py	2010-07-22 01:07:58 +0000
+++ v4l2.py	2018-03-03 01:59:16 +0000
@@ -194,7 +194,7 @@
     V4L2_BUF_TYPE_SLICED_VBI_OUTPUT,
     V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY,
     V4L2_BUF_TYPE_PRIVATE,
-) = range(1, 9) + [0x80]
+) = list(range(1, 9)) + [0x80]
 
 
 v4l2_ctrl_type = enum
@@ -245,7 +245,7 @@
     V4L2_PRIORITY_INTERACTIVE,
     V4L2_PRIORITY_RECORD,
     V4L2_PRIORITY_DEFAULT,
-) = range(0, 4) + [2]
+) = list(range(0, 4)) + [2]
 
 
 class v4l2_rect(ctypes.Structure):

