Remove redundant parentheses
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…
Reference in New Issue