summaryrefslogtreecommitdiffstats
path: root/Demo/classes/Dbm.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/classes/Dbm.py')
-rwxr-xr-xDemo/classes/Dbm.py2
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