gpt4 book ai didi

python - "_log"在 pytables 类中意味着什么?

转载 作者:太空宇宙 更新时间:2023-11-04 10:17:29 25 4
gpt4 key购买 nike

_log参数在pytables中是什么意思?文档似乎根本没有提到它。它默认为 True,但我看到了一些它为 False 的示例。

将此设置为 true 或 false 的结果是什么?

作为引用,参数出现在:

最佳答案

引用source

# The ``_log`` argument is only meant to be used by ``_g_copy_as_child()``
# to avoid logging the creation of children nodes of a copied sub-tree.

文档没有提到它,因为外部用户不应该对它感兴趣。通过 convention , 以下划线 (_) 开头的 Python 名称是“内部的”。

关于python - "_log"在 pytables 类中意味着什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34458220/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com