在epytex中将文档类型作为函数的正确方法

2024-06-16 09:56:40 发布

您现在位置:Python中文网/ 问答频道 /正文

在epytext中将变量的类型指定为函数或实例方法的正确方法是什么?你知道吗

我见过这个:

@type  cb: fn

我也看到了:

@type  cb: function or instancemethod

Tags: or实例方法函数类型typefunction中将