mozilla / spiderflunky

Static analysis of JavaScript
6 stars 3 forks source link

Unicode Translate #4

Open mvcisback opened 10 years ago

mvcisback commented 10 years ago

Switch to unicode.translate instead of

return "".join((x if is_standard_ascii(x) else "?") for x in text)

in parser.py