Remove redundant parentheses
This commit is contained in:
parent
0ee2d2d626
commit
8dcd85ead2
@ -850,7 +850,7 @@
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"if (hasattr(f.data, \"tobytes\")):\n",
|
||||
"if hasattr(f.data, \"tobytes\"):\n",
|
||||
" data_bytes = f.data.tobytes() # python 3\n",
|
||||
"else:\n",
|
||||
" data_bytes = memoryview(f.data).tobytes() # python 2\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user