Allow None for click.core.Context.default_map (#3416)

This commit is contained in:
Taneli Hukkinen
2019-10-29 00:10:27 +01:00
committed by Sebastian Rittau
parent 9c724e9e60
commit beaf306d12

View File

@@ -51,7 +51,7 @@ class Context:
args: List[str]
protected_args: List[str]
obj: Any
default_map: Mapping[str, Any]
default_map: Optional[Mapping[str, Any]]
invoked_subcommand: Optional[str]
terminal_width: Optional[int]
max_content_width: Optional[int]