Why Eclipse Pydev uses @author in default template

爱⌒轻易说出口 提交于 2019-12-13 07:55:48

问题


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 :

I though that restructuredtext is most common in python world.


回答1:


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

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



来源:https://stackoverflow.com/questions/20317141/why-eclipse-pydev-uses-author-in-default-template

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!