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 3 commits into
email.utils module#149644Conversation
Documentation build overview
11 files changed ·
|
| 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 attribute`?
There was a problem hiding this comment.
Honestly, I don't know :') could you look at the code and see what it does please?
There was a problem hiding this comment.
It's intentional. It is meant to say that a timezone instance is returned as the tzinfo. If you can think of a better why to phrase it, please do ;)
There was a problem hiding this comment.
offset, the
datetimewill be an awaredatetimewith the
corresponding a :class:~datetime.timezone:class:~datetime.tzinfo.
corresponding :class:~datetime.timezone:class:~datetime.tzinfo.
How about:
offset, the ``datetime`` will be an aware ``datetime`` whose
corresponding :attr:`~datetime.datetime.tzinfo` attribute is
a :class:`~datetime.timezone` object.Should i understand it like that?
Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
No description provided.