summaryrefslogtreecommitdiff
path: root/grc/grc_gnuradio/blks2/selector.py
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2014-07-07 12:18:00 -0400
committerTom Rondeau <tom@trondeau.com>2014-07-07 12:18:00 -0400
commit597b93798a804cde1783d6d2ab53b348d57c44cd (patch)
treeb65e73bb0de634ff5d209b15971ebdabf369a45c /grc/grc_gnuradio/blks2/selector.py
parent1151e5502ccd440ebd89599cf7e4be4fb5ed8334 (diff)
Removing trailing/extra whitespaces before release.
We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
Diffstat (limited to 'grc/grc_gnuradio/blks2/selector.py')
-rw-r--r--grc/grc_gnuradio/blks2/selector.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/grc/grc_gnuradio/blks2/selector.py b/grc/grc_gnuradio/blks2/selector.py
index 7ae664823b..24e3844658 100644
--- a/grc/grc_gnuradio/blks2/selector.py
+++ b/grc/grc_gnuradio/blks2/selector.py
@@ -27,7 +27,7 @@ class selector(gr.hier_block2):
def __init__(self, item_size, num_inputs, num_outputs, input_index, output_index):
"""
Selector constructor.
-
+
Args:
item_size: the size of the gr data stream in bytes
num_inputs: the number of inputs (integer)
@@ -58,7 +58,7 @@ class selector(gr.hier_block2):
def _indexes_valid(self):
"""
Are the input and output indexes within range of the number of inputs and outputs?
-
+
Returns:
true if input index and output index are in range
"""
@@ -90,7 +90,7 @@ class selector(gr.hier_block2):
def set_input_index(self, input_index):
"""
Change the block to the new input index if the index changed.
-
+
Args:
input_index: the new input index
"""
@@ -104,7 +104,7 @@ class selector(gr.hier_block2):
def set_output_index(self, output_index):
"""
Change the block to the new output index if the index changed.
-
+
Args:
output_index: the new output index
"""
@@ -121,7 +121,7 @@ class valve(selector):
def __init__(self, item_size, open):
"""
Constructor for valve.
-
+
Args:
item_size: the size of the gr data stream in bytes
open: true if initial valve state is open
@@ -133,7 +133,7 @@ class valve(selector):
def set_open(self, open):
"""
Callback to set open state.
-
+
Args:
open: true to set valve state to open
"""