diff --git a/python_base.py b/python_base.py index b58ece7..f585cb9 100644 --- a/python_base.py +++ b/python_base.py @@ -285,7 +285,7 @@ def __missing__(self, key): self[key] = [] return self[key] - dct = Dict() + dct = dict() dct["foo"].append(1) # 这有点类似于collections.defalutdict dct["foo"] # [1]