diff options
Diffstat (limited to 'Demo/classes/Dbm.py')
-rwxr-xr-x | Demo/classes/Dbm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/classes/Dbm.py b/Demo/classes/Dbm.py index ecc117d..617fe99 100755 --- a/Demo/classes/Dbm.py +++ b/Demo/classes/Dbm.py @@ -50,7 +50,7 @@ def test(): value = d[key] print('currently:', value) value = eval(input('value: ')) - if value == None: + if value is None: del d[key] else: d[key] = value |