From fc4d37062c46886d3bc1fb0b6c3626d779be4ecd Mon Sep 17 00:00:00 2001 From: Ben Reynwar <ben@reynwar.net> Date: Tue, 14 Aug 2012 10:28:23 -0700 Subject: docs: Modified argument formating in python docstrings in grc. --- grc/gui/Param.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'grc/gui/Param.py') diff --git a/grc/gui/Param.py b/grc/gui/Param.py index cb6c663e30..da76b6b82c 100644 --- a/grc/gui/Param.py +++ b/grc/gui/Param.py @@ -175,7 +175,9 @@ class Param(Element): An enum requires and combo parameter. A non-enum with options gets a combined entry/combo parameter. All others get a standard entry parameter. - @return gtk input class + + Returns: + gtk input class """ if self.is_enum(): return EnumParam(self, *args, **kwargs) if self.get_options(): return EnumEntryParam(self, *args, **kwargs) @@ -184,6 +186,8 @@ class Param(Element): def get_markup(self): """ Get the markup for this param. - @return a pango markup string + + Returns: + a pango markup string """ return Utils.parse_template(PARAM_MARKUP_TMPL, param=self) -- cgit v1.2.3