Skip to content

Dict Key and Value Types

Use the Dict[key_type, value_type] syntax for restricting the key and value types of dictionaries.