Loading src/yapsut/AppendableDict.py +4 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,10 @@ class AppendableDict : self._k=[] self._d={} self._comment="" if comment is None else comment def copy(self) : """carbon copy of itself""" import copy return copy.deepcopy(self) def keys(self) : """ list of arguments """ return self._k Loading Loading
src/yapsut/AppendableDict.py +4 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,10 @@ class AppendableDict : self._k=[] self._d={} self._comment="" if comment is None else comment def copy(self) : """carbon copy of itself""" import copy return copy.deepcopy(self) def keys(self) : """ list of arguments """ return self._k Loading