Fix documentation references and some typos for email.utils module#149644
Fix documentation references and some typos for email.utils module#149644Viicos wants to merge 2 commits intopython:mainfrom
email.utils module#149644Conversation
Documentation build overview
|
| .. function:: getaddresses(fieldvalues, *, strict=True) | ||
|
|
||
| This method returns a list of 2-tuples of the form returned by ``parseaddr()``. | ||
| This method returns a list of 2-tuples of the form returned by :meth:`parseaddr`. |
There was a problem hiding this comment.
If it's a function, call it "This function" and use func role instead. It looks like it's a module-level function.
There was a problem hiding this comment.
Yes sorry that's an oversight.
There was a problem hiding this comment.
Can we call "This function" instead of "This method" as well please?
| message the date comes from. If the input date has any other valid timezone | ||
| offset, the ``datetime`` will be an aware ``datetime`` with the | ||
| corresponding a :class:`~datetime.timezone` :class:`~datetime.tzinfo`. | ||
| corresponding :class:`~datetime.timezone` :class:`~datetime.tzinfo`. |
There was a problem hiding this comment.
I don't understand this last sentence actually. Why do we have two classes one after the other?
There was a problem hiding this comment.
I wasn't entirely sure too. Having a second look, maybe only one was supposed to be written? Maybe it should be:
will be an aware ``datetime`` with the corresponding :attr:`~datetime.datetime.tzinfo`?
There was a problem hiding this comment.
Honestly, I don't know :') could you look at the code and see what it does please?
Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
No description provided.