Changed repr to pprint.pformat.

This commit is contained in:
Jeremy Fincher 2003-10-30 02:20:36 +00:00
parent 8819240864
commit 288dc6cf4c

View File

@ -38,6 +38,7 @@ Data structures for Python.
import fix
import types
import pprint
import string
class RingBuffer(object):
@ -366,7 +367,7 @@ class PersistentDictionary(dict):
def close(self):
fd = file(self.filename, 'w')
fd.write(repr(self))
fd.write(pprint.pformat(self))
fd.close()
flush = close