-
Return a new dictionary initialized from an optional positional argument or from a set of keyword arguments.
返回一个新的由可选的位置参数或一组关键字参数初始化的字典。
-
Otherwise, the positional argument must be a sequence, a container that supports iteration, or an iterator object.
如果位置参数是一个映射对象,则返回像映射对象一样的键值映射。
-
Provide a read-only property with the same name as each positional argument, but change the case to differentiate between them.
提供和每个位置性引数同名的唯读属性,但变更大小写以区分它们。
-
If the positional argument is a mapping object, return a dictionary mapping the same keys to the same values as does the mapping object.
如果位置参数是一个映射对象,则返回像映射对象一样的键值映射。
-
If a key is specified both in the positional argument and as a keyword argument, the value associated with the keyword is retained in the dictionary.
如果一个键同时被指定位置参数和作为一个关键字参数,与其关键字相关的值被保留在dict中。