summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-04-06 14:14:25 (GMT)
committerGuido van Rossum <guido@python.org>1998-04-06 14:14:25 (GMT)
commitf62cf615481f4c7d9e246648ad70b6a9978d8d43 (patch)
treec8a4f41fcb231f8922c0cb388ed7c49f9e25f1b2 /Lib
parent5810297052003f28788f6790ac799fe8e5373494 (diff)
downloadcpython-f62cf615481f4c7d9e246648ad70b6a9978d8d43.zip
cpython-f62cf615481f4c7d9e246648ad70b6a9978d8d43.tar.gz
cpython-f62cf615481f4c7d9e246648ad70b6a9978d8d43.tar.bz2
Give in to tabnanny.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/shelve.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/shelve.py b/Lib/shelve.py
index 6bdc030..e617e89 100644
--- a/Lib/shelve.py
+++ b/Lib/shelve.py
@@ -31,14 +31,14 @@ or may not be necessary to flush changes to disk.
# Try using cPickle and cStringIO if available.
try:
- from cPickle import Pickler, Unpickler
+ from cPickle import Pickler, Unpickler
except ImportError:
- from pickle import Pickler, Unpickler
+ from pickle import Pickler, Unpickler
try:
- from cStringIO import StringIO
+ from cStringIO import StringIO
except ImportError:
- from StringIO import StringIO
+ from StringIO import StringIO
class Shelf:
@@ -75,7 +75,7 @@ class Shelf:
def close(self):
try:
- self.dict.close()
+ self.dict.close()
except:
pass
self.dict = 0