-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-130283: update deprecated links and examples in urllib.request
docs
#130284
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-130283: update deprecated links and examples in urllib.request
docs
#130284
Conversation
@sobolevn PTAL |
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 can't comment on non-changed lines, but can you also fix the ". ::" sentences and merge them into "::" directly, e.g.:
-This example gets the python.org main page and displays the first 300 bytes of
it. ::
+This example gets the python.org main page and displays the first 300 bytes of
it::
TiA. No need to change the entire file, just change L1216, L1235 and L1245.
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.
@picnixz I've make the requested changes. please review again 😄 .
TiA. 🙏🏻
I'll review + merge tomorrow probably or on Friday. |
Doc/library/urllib.request.rst
Outdated
The following W3C document, https://www.w3.org/International/O-charset\ , lists | ||
the various ways in which an (X)HTML or an XML document could have specified its | ||
The following HTML spec document, https://html.spec.whatwg.org/#charset\ , lists | ||
the various ways in which an HTML document could have specified its |
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.
XML is still covered by the document but they explicitly don't say "XHTML".
Thanks @Mr-Sunglasses for the PR, and @picnixz for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
…est` docs (pythonGH-130284) (cherry picked from commit fd459b1) Co-authored-by: Kanishk Pachauri <itskanishkp.py@gmail.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
GH-131626 is a backport of this pull request to the 3.13 branch. |
…est` docs (pythonGH-130284) (cherry picked from commit fd459b1) Co-authored-by: Kanishk Pachauri <itskanishkp.py@gmail.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
GH-131627 is a backport of this pull request to the 3.12 branch. |
…est` docs (python#130284) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
fix: #130283
📚 Documentation preview 📚: https://cpython-previews--130284.org.readthedocs.build/