summaryrefslogtreecommitdiff
path: root/grc/gui/Actions.py
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2019-07-09 16:27:22 -0400
committerMarcus Müller <marcus@hostalia.de>2019-07-17 22:54:23 +0200
commit925e1103e5791dc8be684a5269efc36c1bf4f557 (patch)
treeb56cbff2a2bb8e7f16805197d2c729397c5ec4f6 /grc/gui/Actions.py
parent15452407e043b3d1fe3f152c2590bc95b40b4342 (diff)
Fix for misc. documentation + trivial typos
Found via `codespell -q 3 -L ans,sinc,hist,ist,ith,uint,fo -S ./volk` Fix typos in gnuradio-runtime/ Fix typos in gr-digital/ Fix typos in gr-qtgui/ Fix typos in gr-channels/ Fix typos in grc/ Fix typos gr-filter/ Fix typos in gr-uhd/ Fix typos in gr-blocks/ Fix typos in gr-fec/
Diffstat (limited to 'grc/gui/Actions.py')
-rw-r--r--grc/gui/Actions.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/grc/gui/Actions.py b/grc/gui/Actions.py
index dd373847bb..8497565b2e 100644
--- a/grc/gui/Actions.py
+++ b/grc/gui/Actions.py
@@ -49,11 +49,11 @@ class Namespace(object):
icon_name=None, keypresses=None, preference_name=None, default=None):
# Check types
if not isinstance(name, str):
- raise TypeError("Cannot register fuction: 'name' must be a str")
+ raise TypeError("Cannot register function: 'name' must be a str")
if parameter and not isinstance(parameter, str):
- raise TypeError("Cannot register fuction: 'parameter' must be a str")
+ raise TypeError("Cannot register function: 'parameter' must be a str")
if handler and not callable(handler):
- raise TypeError("Cannot register fuction: 'handler' must be callable")
+ raise TypeError("Cannot register function: 'handler' must be callable")
# Check if the name has a prefix.
prefix = None