请输入您要查询的英文单词:

 

单词 docstring
释义
docstring
  • 简明释义
  • n.文档字符串:在编程语言(如Python)中,用于描述函数、类或模块功能的字符串。通常位于定义的开头,用三引号括起来。
  • 网络释义
  • 1

    ?文档字符串

    开发计划(development plan):写程序的过程。 文档字符串docstring):在函数定义开始处出现的用于说明函数接口的字符串。 前置条件(precondition):在函数调用开始前应当满足的条件。

  • 2

    ?三重引号

    ...python Ptyhon数据类型 目录[-] 字符串String 三重引号(DocString) 转义字符 字符串特殊操作符 字符串格式化操作 Unicode字符串 字符串String 使用引号定义的一组可以包含数字,字母,符号(非特殊...

  • 双语例句
  • 1
    My .p_para() should contain only a set of grammar rules in its docstring (no code).
    我的 .p_para() 在其文档字符串中应该只包含一组语法规则(没有代码)。
  • 2
    Such illustrations can also occur right inside of source code, in the docstring of a module, class, or function
    这种说明还可以出现在源代码中模块、类或函数的 docstring 中
  • 3
    The first statement of the function body can optionally be a string literal; this string literal is the function's documentation string, or docstring.
    函数体的第一行可以是一个字符串值,这个字符串是该函数的(文档字符串(documentation string)) ,也可称作docstring 。
随便看

 

英汉双解词典包含3185865条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2022 Newdu.com All Rights Reserved
更新时间:2025/3/20 6:37:01