Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ikvk committed Oct 23, 2023
1 parent 60766d4 commit 49312c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ MailMessage and MailAttachment public attributes are cached by functools.lru_cac
Search criteria
^^^^^^^^^^^^^^^

You can use 3 types for "criteria" argument of MailBox methods: fetch, uids, numbers:
You can pass *"criteria"* argument to 3 methods of MailBox: *fetch, uids, numbers*. Criteria can be of three types:

.. code-block:: python
Expand All @@ -138,7 +138,7 @@ You can use 3 types for "criteria" argument of MailBox methods: fetch, uids, num
mailbox.fetch('TEXT "hello"') # str
mailbox.fetch(b'TEXT "\xd1\x8f"') # bytes
Use "charset" argument for encode criteria to the desired encoding. If "criteria" is bytes - encoding will be ignored.
Use *"charset"* argument for encode criteria to the desired encoding. If criteria is bytes - encoding will be ignored.

.. code-block:: python
Expand Down

0 comments on commit 49312c1

Please sign in to comment.