提交 dc921d8c authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Slightly more explicit comment

上级 c1f3d36a
......@@ -35,7 +35,8 @@ def local_bitwidth():
By "architecture", we mean the size of memory pointers (size_t in C),
*not* the size of long int, as it can be different.
"""
# Platform.architecture is not reliable on OS X with universal binaries
# Note that according to Python documentation, `platform.architecture()` is
# not reliable on OS X with universal binaries.
maxsize = sys.maxsize
return len('%x' % maxsize) * 4
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论