diff --git a/Doc/library/mailbox.rst b/Doc/library/mailbox.rst index ce8dc59058b..5192acb6442 100644 --- a/Doc/library/mailbox.rst +++ b/Doc/library/mailbox.rst @@ -806,7 +806,7 @@ follows: A message is typically moved from :file:`new` to :file:`cur` after its mailbox has been accessed, whether or not the message is has been read. A message - ``msg`` has been read if ``"S" not in msg.get_flags()`` is ``True``. + ``msg`` has been read if ``"S" in msg.get_flags()`` is ``True``. .. method:: MaildirMessage.set_subdir(subdir)