Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22628c4 commit 251803bCopy full SHA for 251803b
1 file changed
Tools/pybench/pybench.py
@@ -106,9 +106,7 @@ def get_machine_details():
106
print('Getting machine details...')
107
buildno, builddate = platform.python_build()
108
python = platform.python_version()
109
- try:
110
- chr(100000)
111
- except ValueError:
+ if sys.maxunicode == 65535:
112
# UCS2 build (standard)
113
unitype = 'UCS2'
114
else:
0 commit comments