go top

positional argument

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

网络释义

  定位参数

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

基于38个网页-相关网页

短语

positional-argument-list 定位参数列表

excess positional argument 扩展位置参数

双语例句

  • 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方法或者成员对象,所以这个URLworld部分作为那个对象default方法的位置参数传递进来。

    youdao

  • 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

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

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

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