We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Original example
s = 'Spicy "Jalapeño".' from html.parser import HTMLParser p = HTMLParser() p.unescape(s) 'Spicy "Jalapeño".'
after Python 3.9, 'HTMLParser' object has no attribute 'unescape', this method is removed.
a working example of Python 3.9 : s = 'Spicy "Jalapeño".' import html p = html p.unescape(s)
ref link: coursera-dl/coursera-dl#778
The text was updated successfully, but these errors were encountered:
@xiaobojiang Should we add some "translator comments"?
Sorry, something went wrong.
good idea. we could do it in the footer area, or add a note in below.
No branches or pull requests
Original example
after Python 3.9, 'HTMLParser' object has no attribute 'unescape', this method is removed.
a working example of Python 3.9 :
s = 'Spicy "Jalapeño".'
import html
p = html
p.unescape(s)
ref link: coursera-dl/coursera-dl#778
The text was updated successfully, but these errors were encountered: