aboutsummaryrefslogtreecommitdiffstats
path: root/3rdparty/pybind11/tools/libsize.py
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/pybind11/tools/libsize.py')
-rw-r--r--3rdparty/pybind11/tools/libsize.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/3rdparty/pybind11/tools/libsize.py b/3rdparty/pybind11/tools/libsize.py
index 5dcb8b0d..589c317f 100644
--- a/3rdparty/pybind11/tools/libsize.py
+++ b/3rdparty/pybind11/tools/libsize.py
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
from __future__ import print_function, division
import os
import sys
@@ -18,7 +19,7 @@ if not os.path.exists(lib):
libsize = os.path.getsize(lib)
-print("------", os.path.basename(lib), "file size:", libsize, end='')
+print("------", os.path.basename(lib), "file size:", libsize, end="")
if os.path.exists(save):
with open(save) as sf:
@@ -33,6 +34,5 @@ if os.path.exists(save):
else:
print()
-with open(save, 'w') as sf:
+with open(save, "w") as sf:
sf.write(str(libsize))
-