Fix html.escape signature (#218)

The quote argument for html.escape is optional: https://docs.python.org/3.5/library/html.html#html.escape
This commit is contained in:
Florian Bruhin
2016-05-19 23:37:19 +02:00
committed by Guido van Rossum
parent 8503f13a41
commit 11049f9a4f

View File

@@ -1,4 +1,4 @@
from typing import AnyStr
def escape(s: AnyStr, quote: bool) -> AnyStr: ...
def escape(s: AnyStr, quote: bool = ...) -> AnyStr: ...
def unescape(s: AnyStr) -> AnyStr: ...