Skip to content

Commit

Permalink
Add __slots__ and clean up docs
Browse files Browse the repository at this point in the history
  • Loading branch information
icgood committed Dec 3, 2018
1 parent b840cb1 commit 4f2a24d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pymap/backend/maildir/uidlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class Record(NamedTuple):
"""Defines a single record read from the UID list file.
Attributes:
Args:
uid: The message UID of the record.
fields: The metadata fields of the record.
filename: The filename of the record.
Expand Down
2 changes: 1 addition & 1 deletion pymap/listtree.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class ListEntry(NamedTuple):
"""An entry in the list results.
Attributes:
Args:
name: The name of the mailbox.
exists: False if the mailbox should be marked ``\\Noselect``.
has_children: Whether the mailbox should be marked ``\\HasChildren`` or
Expand Down
2 changes: 1 addition & 1 deletion pymap/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
class AppendMessage(NamedTuple):
"""A single message from the APPEND command.
Attributes:
Args:
message: The raw message bytes.
flag_set: The flags to assign to the message.
when: The internal timestamp to assign to the message.
Expand Down
2 changes: 1 addition & 1 deletion pymap/selected.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def any_selected(self) -> Optional['SelectedMailbox']:
class SelectedSnapshot(NamedTuple):
"""Holds a snapshot of the selected mailbox as of the last fork.
Attributes:
Args:
uid_validity: The UID validity of the selected mailbox.
next_uid: The predicted next message UID of the mailbox.
recent: The number of messages in the mailbox with ``\\Recent``.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@


setup(name='pymap',
version='0.5.0',
version='0.5.1',
author='Ian Good',
author_email='icgood@gmail.com',
description='Lightweight, asynchronous IMAP serving in Python.',
Expand Down

0 comments on commit 4f2a24d

Please sign in to comment.