-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-101100: Fix datetime reference warnings #114661
Conversation
@serhiy-storchaka I applied your suggestions, then got a bit carried away. It seems to me that if :attr:
with
to suppress the link to the documentation the user is currently viewing. If there's a good reason to retain these links, let me know and I'll undo that part of the change. |
I've responded to all recent comments. |
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Many references |
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. 😌
Thanks. Feel free to merge. (I don't have -- or want -- check-in privilege.) |
Thanks @smontanaro for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
(cherry picked from commit e8b8f5e) Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sorry, @smontanaro and @serhiy-storchaka, I could not cleanly backport this to
|
GH-114716 is a backport of this pull request to the 3.12 branch. |
Thank you @smontanaro. It was a complicated issue. The documentation can still be refined: there are paragraphs with repeated links. But this is a different issue. |
Please look also at #114717. |
) (cherry picked from commit e8b8f5e) Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
GH-114718 is a backport of this pull request to the 3.11 branch. |
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Fixed dangling references.
datetime
,date
, andtime
classes have many method names in common (not too surprising). Where it didn't seem to make a difference, I changed the reference to thedatetime
version of the method.📚 Documentation preview 📚: https://cpython-previews--114661.org.readthedocs.build/