We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 944fba8 commit f30e6f9Copy full SHA for f30e6f9
roundup/anypy/html.py
@@ -1,10 +1,10 @@
1
try:
2
from html import escape as html_escape_ # python 3
3
4
- def html_escape(str, quote=False):
+ def html_escape(string, quote=False):
5
# html_escape under python 3 sets quote to true by default
6
# make it python 2 compatible
7
- return html_escape_(str, quote=quote)
+ return html_escape_(string, quote=quote)
8
except ImportError:
9
# python 2 fallback
10
from cgi import escape as html_escape # noqa: F401
0 commit comments