ITADN

Fix cs_parser children mutable default

#106Pull RequestKGOH 创建于 2024-03-13已合并
K
KGOHcommented
Currently all nodes without children share the same list object https://docs.python-guide.org/writing/gotchas/#mutable-default-arguments This may not affect parser logic right now, but if someone decides to append a child into a such node, this would affect all nodes without children
合并状态:已合并 合并于 2024-03-13 关闭于 2024-03-13 0 条评论