gh-101100: Fix references in csv docs#114658
Conversation
There was a problem hiding this comment.
Thank you!
is #101100 the correct issue to reference?
Yep :)
With these changes, nitpicky mode in Sphinx seems happy with csv.rst.
And the CI has failed... But in a good way! It says:
Congratulations! You improved:
Doc/library/csv.rst
Please remove from Doc/tools/.nitignore
Doing this means the CI will also prevent new warnings from appearing in this file.
Sorry, something went wrong.
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
hugovk
left a comment
There was a problem hiding this comment.
Looks good, thanks!
Just want to double check the write.
Sorry, something went wrong.
serhiy-storchaka
left a comment
There was a problem hiding this comment.
LGTM.
Perhaps we can rename csvwriter to writer, but it is a separate issue, and it may have pitfalls.
Sorry, something went wrong.
Since there is no type called |
Sorry, something went wrong.
|
|
Sorry, something went wrong.
|
In the spirit of incremental changes, shall we merge this as-is (it does what it set out to do: fix reference warnings), and make a new PR for any further changes? |
Sorry, something went wrong.
|
Thanks @smontanaro for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry, something went wrong.
|
Sorry, @smontanaro and @serhiy-storchaka, I could not cleanly backport this to |
Sorry, something went wrong.
|
Sorry, @smontanaro and @serhiy-storchaka, I could not cleanly backport this to |
Sorry, something went wrong.
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> (cherry picked from commit 3911b42)
|
@serhiy-storchaka @hugovk I attempted to create the two pull requests. Please take a look and let me know if I missed something or resolved the |
Sorry, something went wrong.
|
Not sure what you're referring to. I was just executing the cherry-picker commands the bedevere not have. Did I mess something up? |
Sorry, something went wrong.
|
I don't know if it was you or The PR branches themselves were fine, though. That is, the error was in the creation of the PRs, not the creation of the backports. |
Sorry, something went wrong.
|
That's weird. I did run the commands from my 3.12 and 3.11 repos. |
Sorry, something went wrong.
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This is my first attempt at this. Hopefully I've done it correctly. I would appreciate checks on my changes and the mechanics (is gh-101100 the correct issue to reference?). Thanks to @hugovk for helping me get started. There are two types of changes herein:
Dialectdocumentation reflecting that it really doesn't have any callable methods, and – in particular – lacks avalidatemethod. (Validation is implicit when instantiating the class.)With these changes, nitpicky mode in Sphinx seems happy with
csv.rst.📚 Documentation preview 📚: https://cpython-previews--114658.org.readthedocs.build/