Skip to content

Update comments in _strptime module#144979

Open
anton-ryzhov wants to merge 1 commit intopython:mainfrom
anton-ryzhov:strptime-doc-fix
Open

Update comments in _strptime module#144979
anton-ryzhov wants to merge 1 commit intopython:mainfrom
anton-ryzhov:strptime-doc-fix

Conversation

@anton-ryzhov
Copy link
Contributor

This PR updates docstrings to match the code

Comment on lines +521 to +524
"""Return a 3-tuple consisting of a time struct, an int containing
the number of microseconds and an int containing
a mictoseconds part of the GMT offset based on the input string
and the format string."""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"""Return a 3-tuple consisting of a time struct, an int containing
the number of microseconds and an int containing
a mictoseconds part of the GMT offset based on the input string
and the format string."""
"""Return a 3-tuple consisting of a tuple with time components,
an int containing the number of microseconds, and an int
containing the microseconds part of the GMT offset, based on the
input string and the format string."""

We aren't returning a time.struct_time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments