summaryrefslogtreecommitdiff
path: root/grc/gui/Connection.py
diff options
context:
space:
mode:
authorBen Reynwar <ben@reynwar.net>2012-08-14 10:28:23 -0700
committerBen Reynwar <ben@reynwar.net>2012-08-14 10:28:23 -0700
commitfc4d37062c46886d3bc1fb0b6c3626d779be4ecd (patch)
treee69367ce9284b7a91c31899f66d129d2a9bccae6 /grc/gui/Connection.py
parent3e46aef392ba9b2e63bbfefefdb7178cc87049ab (diff)
docs: Modified argument formating in python docstrings in grc.
Diffstat (limited to 'grc/gui/Connection.py')
-rw-r--r--grc/gui/Connection.py14
1 files changed, 10 insertions, 4 deletions
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()