def copy(self):
"""Return a (shallow) copy of this `Struct` instance."""
return ImmutableStruct(self)
# the `DictMixin` class defines all std `dict` methods, provided
# that `__getitem__`, `__setitem__` and `keys` are defined.
评论列表
文章目录