将函数的非参数分组为变量?

时间:2012-12-16 16:43:22

标签: python documentation doxygen

我正在使用Doxygen来记录我的python代码,并且我有一个只接收“请求”的django函数,但我想记录在request.GET中应该是什么。 我怎么能很好地将我的变量布局为当前评论为:

#  GET parameters:
#  {
#    'tag_id'   : int      = Tag ID, used if no tag-name given
#    'tag_name' : string   = Tag name, used if no TagID given
#    'last_id'  : int      = id of last displayed photo (that's the oldest one displayed!!!), optional
#    'max_n'    : int      = max number of photos to return, optional - def. 10
#    'bigt'     : bool     = optional, if present then returns bigger thumbs (400x260) instead of 300x200
#    'newest_id': int      = newest photoID got, optional. If given call returns newer images only
#  }

0 个答案:

没有答案