diff options
author | Guido van Rossum <guido@python.org> | 1993-12-17 14:23:52 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-12-17 14:23:52 (GMT) |
commit | 7565b934144012f25e8b22d888572c048f0eb21a (patch) | |
tree | 1fe49e0e20f1201f97eb13596ef3c5f014d8182a /Demo/classes/Dbm.py | |
parent | 3cbc16d9041fe1fa87356bdacc2f1ad52fb99a89 (diff) | |
download | cpython-7565b934144012f25e8b22d888572c048f0eb21a.zip cpython-7565b934144012f25e8b22d888572c048f0eb21a.tar.gz cpython-7565b934144012f25e8b22d888572c048f0eb21a.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'Demo/classes/Dbm.py')
-rwxr-xr-x | Demo/classes/Dbm.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/classes/Dbm.py b/Demo/classes/Dbm.py index 0bd5491..8d7fe0f 100755 --- a/Demo/classes/Dbm.py +++ b/Demo/classes/Dbm.py @@ -41,11 +41,11 @@ class Dbm: def test(): - d = Dbm('@dbm', 'rw', 0666) + d = Dbm('@dbm', 'rw', 0600) print d while 1: try: - key = eval(raw_input('key: ')) + key = input('key: ') if d.has_key(key): value = d[key] print 'currently:', value |