From 11049f9a4fde1833bb59b6cc6df29bc4bc4d84cd Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 19 May 2016 23:37:19 +0200 Subject: [PATCH] Fix html.escape signature (#218) The quote argument for html.escape is optional: https://docs.python.org/3.5/library/html.html#html.escape --- stdlib/3/html/__init__.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/html/__init__.pyi b/stdlib/3/html/__init__.pyi index c8577ea2e..af2a80021 100644 --- a/stdlib/3/html/__init__.pyi +++ b/stdlib/3/html/__init__.pyi @@ -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: ...