From 2cc200f60f215d369cff56a56ac0969668525068 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 9 Nov 2020 05:04:05 +0800 Subject: [PATCH] bugfix --- appPublic/dictObject.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/appPublic/dictObject.py b/appPublic/dictObject.py index 5392eec..cd7e798 100644 --- a/appPublic/dictObject.py +++ b/appPublic/dictObject.py @@ -56,6 +56,9 @@ class DictObject: def values(self): return self._addon().values() + def __delitem__(self,key): + self.pop(key) + def __getitem__(self,name): return self._addon().get(name)