mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
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:
committed by
Guido van Rossum
parent
8503f13a41
commit
11049f9a4f
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user