Uh oh!
There was an error while loading. Please reload this page.
Docs: Fix Sphinx warnings in io.rst - #107903
Conversation
| In this example, an :class:`EncodingWarning` is emitted for the caller of | ||
| ``read_text()``. | ||
| :meth:`!read_text`. |
There was a problem hiding this comment.
I think this should stay as read_text(); it refers to the exemplar function defined immediatley above and not to any object description.
| :meth:`!read_text`. | |
| ``read_text()`` |
There was a problem hiding this comment.
I agree. I had an earlier variant where I converted these to the meth markup, but I changed my mind. Probably forgot to revert this one. Thanks for noticing.
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.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
erlend-aasland
commented
Aug 14, 2023
Let's land some of the other changes first; for example documenting |
AA-Turner
left a comment
There was a problem hiding this comment.
Only comment is on read_text (replied to the earlier thread), otherwise looks good!
erlend-aasland
commented
Aug 17, 2023
Thanks for the review! |
miss-islington
commented
Aug 17, 2023
Thanks @erlend-aasland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
bedevere-bot
commented
Aug 17, 2023
GH-108093 is a backport of this pull request to the 3.12 branch. |
- Mark up parameter and argument names properly - If possible, link to docs for methods like `seek`, `tell`, `write`, `read`, etc. (cherry picked from commit 5c76899) Co-authored-by: Erlend E. Aasland <erlend@python.org> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
bedevere-bot
commented
Aug 17, 2023
GH-108094 is a backport of this pull request to the 3.11 branch. |
- Mark up parameter and argument names properly - If possible, link to docs for methods like `seek`, `tell`, `write`, `read`, etc. (cherry picked from commit 5c76899) Co-authored-by: Erlend E. Aasland <erlend@python.org> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
- Mark up parameter and argument names properly - If possible, link to docs for methods like `seek`, `tell`, `write`, `read`, etc. (cherry picked from commit 5c76899) Co-authored-by: Erlend E. Aasland <erlend@python.org> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Docs: Fix Sphinx warnings in io.rst (GH-107903) - Mark up parameter and argument names properly - If possible, link to docs for methods like `seek`, `tell`, `write`, `read`, etc. (cherry picked from commit 5c76899) Co-authored-by: Erlend E. Aasland <erlend@python.org> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: T. Wouters <thomas@python.org>
seek,tell,write,read, etc. Else, remove the (already dead) link.📚 Documentation preview 📚: https://cpython-previews--107903.org.readthedocs.build/