Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-101100: Fix Sphinx nitpicks inlibrary/collections.abc.rst
#113116
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
rhettinger commentedDec 14, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Please leave the double-back-ticks as they are now. They were intentionally just inline code and not links which as no value and are distracting to a reader. |
Sure -- I've reverted those changes |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
testing an interface by verifying the required methods are present | ||
and have not been set to :const:`None`. This only works for simple | ||
interfaces. More complex interfaces require registration or direct | ||
subclassing. | ||
.. [2] Checking ``isinstance(obj, Iterable)`` detects classes that are | ||
registered as :class:`Iterable` or that have an :meth:`__iter__` |
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.
Same here.
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.
I think the added link here (to__iter__
methods) is pertinent and useful, as it relates to the definition of what an iterable is. The other methods in this footnote also have links to their documentation.
Uh oh!
There was an error while loading.Please reload this page.
Thanks@AlexWaygood for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
GH-113136 is a backport of this pull request to the3.12 branch. |
…pythonGH-113116)(cherry picked from commit006355b)Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
GH-113137 is a backport of this pull request to the3.11 branch. |
…pythonGH-113116)(cherry picked from commit006355b)Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Uh oh!
There was an error while loading.Please reload this page.
📚 Documentation preview 📚:https://cpython-previews--113116.org.readthedocs.build/