You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error in example of datetime.time.fromisoformat #112925
Activity
hugovk commentedon Dec 10, 2023
Thanks for the report.
Looks like a copy/paste error from the previous example:
The actual output (Python 3.11.7 and 3.12.1):
Would you like to open a PR to fix it?
It would also be a good idea to add the doctest marker so these examples are actually tested.
See
.. doctest::elsewhere in the file.gh-112925: Fix error in example of `datetime.time.fromisoformat` and …
pythongh-112925: Fix error in example of `datetime.time.fromisoformat…
pythongh-112925: Fix error in example of `datetime.time.fromisoformat…
[3.12] gh-112925: Fix error in example of `datetime.time.fromisoforma…
[3.11] gh-112925: Fix error in example of `datetime.time.fromisoforma…
serhiy-storchaka commentedon Dec 23, 2023
Thank you for your contribution @F-park.
pythongh-112925: Fix error in example of `datetime.time.fromisoformat…
pythongh-112925: Fix error in example of `datetime.time.fromisoformat…
pythongh-112925: Fix error in example of `datetime.time.fromisoformat…
pythongh-112925: Fix error in example of `datetime.time.fromisoformat…