Minor docstring/whitespace fixes

This commit is contained in:
Nikolaus Schulz 2009-12-30 22:01:03 +01:00
parent b9b2174c45
commit 0f2b04ff89
1 changed files with 4 additions and 3 deletions

View File

@ -454,7 +454,7 @@ class Mbox(mailbox.UnixMailbox, LockableMboxMixin):
self.original_mtime))
def get_size(self):
"""Return the current size of the mbox file"""
"""Return the current size of the mbox file on disk"""
return os.path.getsize(self.mbox_file_name)
def overwrite_with(self, mbox_filename):
@ -489,7 +489,7 @@ class ArchiveMbox(LockableMboxMixin):
class TempMbox:
"""An write-only temporary mbox. No locking methods."""
"""A write-only temporary mbox. No locking methods."""
def __init__(self, prefix=tempfile.template):
"""Creates a temporary mbox file."""
@ -565,6 +565,7 @@ class TempMbox:
os.remove(self.mbox_file_name)
_stale.temp_mboxes.remove(self.mbox_file_name)
class CompressedTempMbox(TempMbox):
"""A compressed version of a TempMbox."""
@ -1055,7 +1056,7 @@ def archive(mailbox_name):
"""Archives a mailbox.
Arguments:
mailbox_name -- the filename/dirname of the mailbox to be archived
mailbox_name -- the filename/dirname/url of the mailbox to be archived
"""
assert(mailbox_name)