10. 测试对象描述

func_without_module(a, b, *c[, d])

做了些什么。

func_without_body()
func_with_unknown_field()

*

:空字段名:

Field_name:

字段名全部较小:

FIELD_NAME:

字段名称全部大写:

Field_Name:

字段名称全部大写(_N):

Field_name:

字段名首字大写:

FIELd_name:

字段名称部分大写:

foolib.func_with_module()

指的是 func with no index 。指的是 nothing

mod.func_in_module()
class mod.Cls
meth1()
static meths()
attr
Cls.meth2()
exception errmod.Error(arg1, arg2)
mod.var
func_without_module2() annotation
long(parameter,   list)
another one
class TimeInt

只有一个参数(触发特殊行为...)

参数:

moo (Moo) -- Moo

class Time(hour, minute, isdst)
参数:
  • year (TimeInt) -- 这一年。

  • minute (TimeInt) -- 那一刻。

  • isdst -- 无论是DST

  • hour (DuplicateType) -- 一些参数

  • hour -- 重复参数。不应该导致撞车。

  • extcls (.Cls) -- 来自另一个模块的类。

返回:

一种新的 Time 实例

返回类型:

Time

抛出:

Error -- 如果值超出范围

变量:
  • hour (int) -- 喜欢 hour

  • minute (int) -- 喜欢 minute

class MyClass
config: sphinx.config.Config

配置对象。

11. C项

void Sphinx_DoSomething()
int SphinxStruct.member
SPHINX_USE_PYTHON
type SphinxType
int sphinx_global
PyObject *Py_SphinxFoo(void)

12. Java Scrip项目

foo()
bar
bar.baz(href, callback[, errback])
参数:
  • href (string()) -- 资源的位置。

  • callback -- 使用资源返回的数据调用。

抛出:

InvalidHref() -- 如果 href 是无效的。

返回:

undefined

bar.spam

13. 参考文献

引用 mod.Clsmod.Cls 应该是一样的。

使用目标: Sphinx_DoSomething() (处理括号), SphinxStruct.memberSPHINX_USE_PYTHONSphinxType * (指针已处理), sphinx_global

没有目标: CFunction()malloc()

foo() foo()

bar bar.baz() bar.baz() baz()

bar.baz

14. 其他

HOME
-c command
-c
+p
--ObjC++
--plugin.option
create-auth-token
arg
-j[=N]

链接到 perl +p--ObjC++--plugin.optioncreate-auth-tokenarg-j

commit
-p

链接到 hg commitgit commit -p

--abi={TYPE}
--test={WHERE}-{COUNT}
--wrap=\{\{value\}\}
-allowable_client {client_name}

Foo酒吧。

测试重复选项指令。

-mapi

我的API。

-mapi=secret

我的秘密API。

引用第一个选项 -mapi=secret-mapi[=xxx]-mapi with_space

15. 用户标记

myobj(parameter)

用户描述。

引用 myobj

16. CPP域

class n::Array
T &operator[](unsigned j)
const T &operator[](unsigned j) const
template<typename T1, typename T2>
requires A<T1, T2>
void f()
  • a + b