提交 620028f5 authored 作者: Frederic's avatar Frederic

Fix new debugprint index. It printed to much @ in some case.

上级 36a01bb6
......@@ -542,7 +542,7 @@ def debugprint(r, prefix='', depth=-1, done=None, print_type=False,
def get_id_str(obj):
if obj in done:
id_str = "[@%s]" % done[obj]
id_str = done[obj]
elif ids == "id":
id_str = "[@%s]" % str(id(r))
elif ids == "int":
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论