go top

positional argument

  • 位置参数:在函数调用中,按照参数在函数定义中的顺序传递参数的方式。与之相对的是关键字参数(keyword argument),它是通过指定参数名来传递参数的方式。在使用时,根据具体情况选择使用哪种方式更加清晰易懂。

网络释义

  定位参数

... positional-argument-list:(定位参数列表:) positional-argument(定位参数) positional-argument-list,positional-argument(定位参数列表,定位参数) ...

基于38个网页-相关网页

短语

positional-argument-list 定位参数列表

excess positional argument 扩展位置参数

双语例句

  • Command-line arguments are also called positional parameters, because the position of an argument on the command line is usually semantically important.

    命令行参数也称为位置参数(positional parameter),因为某个参数在命令行上的位置通常在语义上非常重要。

    youdao

  • Return a new dictionary initialized from an optional positional argument or from a set of keyword arguments.

    返回一个新的由可选的位置参数或一组关键字参数初始化的字典。

    youdao

  • If the positional argument is a mapping object, return a dictionary mapping the same keys to the same values as does the mapping object.

    如果位置参数是一个映射对象,则返回像映射对象一样的键值映射。

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定