fix indentation errors

This commit is contained in:
jdh2358
2007-04-11 17:54:26 +00:00
parent 2c3b1bc497
commit 808975b1f4
3 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -53,10 +53,10 @@ class LineHistory(object):
history_length=property(get_history_length,set_history_length)
history_cursor=property(get_history_cursor,set_history_cursor)
def clear_history(self):
'''Clear readline history.'''
self.history[:] = []
self.history_cursor = 0
def clear_history(self):
'''Clear readline history.'''
self.history[:] = []
self.history_cursor = 0
def read_history_file(self, filename=None):
'''Load a readline history file.'''
+1 -1
View File
@@ -22,7 +22,7 @@ name = 'pyreadline'
branch = 'refactor'
version = '1.4.1'
version = '1.4.2'
revision = '$Revision$'
+3 -3
View File
@@ -170,9 +170,9 @@ class Readline(object):
'''
self._history.set_history_length(length)
def clear_history(self):
'''Clear readline history'''
self._history.clear_history()
def clear_history(self):
'''Clear readline history'''
self._history.clear_history()
def read_history_file(self, filename=None):
'''Load a readline history file. The default filename is ~/.history.'''