为什么Eclipse Pydev在默认模板中使用@author [英] Why Eclipse Pydev uses @author in default template

查看:382
本文介绍了为什么Eclipse Pydev在默认模板中使用@author的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经被python记录了一段时间,但我不知道为什么@author是python模板中的默认sytnax。为什么不是:作者:(在重组样式中)?

I have been intrested for python documenting for a while but I can't figured out why @author is default sytnax in python templates. Why it isn't :author: (in restructuredtext style)?

从什么原因使用@而不是与

From what reason is used syntax with @ and not with :

尽管重构文本在python世界中最常见。

I though that restructuredtext is most common in python world.

推荐答案

Epytext标记语言是您正在寻找的。它是 epydoc 的语言。

The Epytext Markup language is what you're looking for. It is epydoc's language.

它使使用 @ 前缀,其中包含 param 类型 return raise 等。

It makes use of the @ prefix, with such words as param, type, return, raise, etc.

这篇关于为什么Eclipse Pydev在默认模板中使用@author的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆