The table under class time.struct_time says 'tm_day' instead of 'tm_mday', which is incorrect.
submitted a pull request
Please leave the issue open until the fix is merged :)
Good catch; the m was lost in GH-110862 for gh-101100.
gh-120078: Fix struct_time attr typo tm_day -> tm_mday in Doc/library…
pythongh-120078: Fix struct_time attr typo tm_day -> tm_mday in Doc/l…
[3.12] gh-120078: Fix struct_time attr typo tm_day -> tm_mday in Doc/…
[3.13] gh-120078: Fix struct_time attr typo tm_day -> tm_mday in Doc/…
Thanks for the report and patch!
Activity
shoenot commented on Jun 4, 2024
submitted a pull request
zware commented on Jun 5, 2024
Please leave the issue open until the fix is merged :)
Good catch; the m was lost in GH-110862 for gh-101100.
gh-120078: Fix struct_time attr typo tm_day -> tm_mday in Doc/library…
pythongh-120078: Fix struct_time attr typo tm_day -> tm_mday in Doc/l…
pythongh-120078: Fix struct_time attr typo tm_day -> tm_mday in Doc/l…
[3.12] gh-120078: Fix struct_time attr typo tm_day -> tm_mday in Doc/…
[3.13] gh-120078: Fix struct_time attr typo tm_day -> tm_mday in Doc/…
zware commented on Jun 5, 2024
Thanks for the report and patch!
pythongh-120078: Fix struct_time attr typo tm_day -> tm_mday in Doc/l…
pythongh-120078: Fix struct_time attr typo tm_day -> tm_mday in Doc/l…
pythongh-120078: Fix struct_time attr typo tm_day -> tm_mday in Doc/l…