提交 7f2bffca authored 作者: Frederic's avatar Frederic

Add comment following code review.

上级 d66d4c92
......@@ -208,6 +208,8 @@ def cleanup():
have_c_compiler = False
for obj in flatten(key):
if isinstance(obj, numpy.ndarray):
#Reuse have_npy_abi_version to
#force the removing of key
have_npy_abi_version = False
break
elif isinstance(obj, basestring):
......@@ -219,6 +221,8 @@ def cleanup():
hasattr(obj, 'c_code_cache_version')):
v = obj.c_code_cache_version()
if v not in [(), None] and v not in key[0]:
#Reuse have_npy_abi_version to
#force the removing of key
have_npy_abi_version = False
break
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论