Remove redundant parentheses

main
Victor Khaustov 2022-05-13 19:05:00 +09:00
parent 0ee2d2d626
commit 8dcd85ead2
1 changed files with 1 additions and 1 deletions

View File

@ -850,7 +850,7 @@
} }
], ],
"source": [ "source": [
"if (hasattr(f.data, \"tobytes\")):\n", "if hasattr(f.data, \"tobytes\"):\n",
" data_bytes = f.data.tobytes() # python 3\n", " data_bytes = f.data.tobytes() # python 3\n",
"else:\n", "else:\n",
" data_bytes = memoryview(f.data).tobytes() # python 2\n", " data_bytes = memoryview(f.data).tobytes() # python 2\n",