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/Connection.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'grc/gui/Connection.py') diff --git a/grc/gui/Connection.py b/grc/gui/Connection.py index fabf34ee72..5d24fefded 100644 --- a/grc/gui/Connection.py +++ b/grc/gui/Connection.py @@ -38,7 +38,9 @@ class Connection(Element): """ Get the 0,0 coordinate. Coordinates are irrelevant in connection. - @return 0, 0 + + Returns: + 0, 0 """ return (0, 0) @@ -46,7 +48,9 @@ class Connection(Element): """ Get the 0 degree rotation. Rotations are irrelevant in connection. - @return 0 + + Returns: + 0 """ return 0 @@ -120,8 +124,10 @@ class Connection(Element): def draw(self, gc, window): """ Draw the connection. - @param gc the graphics context - @param window the gtk window to draw on + + Args: + gc: the graphics context + window: the gtk window to draw on """ sink = self.get_sink() source = self.get_source() -- cgit v1.2.3