-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
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
docs: fix deprecated or broken examples in urllib.request documentation. #130283
Comments
I need small suggestion here, as https://www.w3.org/International/O-charset is deprecated by W3C, and it added these two suggestions in the page
I've added https://www.w3.org/International/questions/qa-html-encoding-declarations this one but we can add something other instead of this like
I would love to know the thought's of the fellow dev's |
urllib.request
urllib.request
urllib.request
…ocs (#130284) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
…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>
…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>
Thanks for the report and the fix! |
Documentation
While working on the issue #130132 , I encountered with some examples and I can see the W3C document is outdated with some examples of
urllib.request.urlopen()
in Example ofurllib.request
These are following things I find which is outdated.
urllib.request.urlopen('http://www.python.org/')
Also there are other which also need to be fixed:
ref. https://docs.python.org/3/library/urllib.request.html#examples
There are many example in
urllib.request
documentation that need to be updated as they no longer works as expected.Linked PRs
urllib.request
docs #130284urllib.request
docs (GH-130284) #131626urllib.request
docs (GH-130284) #131627The text was updated successfully, but these errors were encountered: