Use Black stable to format python code
[babeltrace.git] / src / bindings / python / bt2 / bt2 / utils.py
index b53032d91cf7455fda5b710b74e99fb21f3b6d30..d7e99ca60156f2c4d6f869e346adb46d531c960d 100644 (file)
@@ -36,7 +36,7 @@ def _check_type(o, expected_type):
 
 def _is_in_int64_range(v):
     assert isinstance(v, int)
-    return v >= -(2 ** 63) and v <= (2 ** 63 - 1)
+    return v >= -(2**63) and v <= (2**63 - 1)
 
 
 def _is_int64(v):
@@ -48,7 +48,7 @@ def _is_int64(v):
 
 def _is_in_uint64_range(v):
     assert isinstance(v, int)
-    return v >= 0 and v <= (2 ** 64 - 1)
+    return v >= 0 and v <= (2**64 - 1)
 
 
 def _is_uint64(v):
This page took 0.022852 seconds and 4 git commands to generate.