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中。
The Hello object has no method or member object called world, so the world portion of the URL is passed in as a positional argument to that object's default method.
对象Hello没有叫做world的方法或者成员对象,所以这个URL的world部分作为那个对象的default方法的位置参数被传递进来。
In general, an argument list must have any positional arguments followed by any keyword arguments, where the keywords must be chosen from the formal parameter names.
通常,参数列表中的每一个关键字都必须来自于形式参数,每个参数都有对应的关键字。
Command-line arguments are also called positional parameters, because the position of an argument on the command line is usually semantically important.
命令行参数也称为位置参数(positional parameter),因为某个参数在命令行上的位置通常在语义上非常重要。
Command-line arguments are also called positional parameters, because the position of an argument on the command line is usually semantically important.
命令行参数也称为位置参数(positional parameter),因为某个参数在命令行上的位置通常在语义上非常重要。
应用推荐