summaryrefslogtreecommitdiff
path: root/gr-uhd/python/uhd/__init__.py
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2018-02-03 14:58:58 +0100
committerMarcus Müller <marcus@hostalia.de>2018-02-03 14:58:58 +0100
commitb163b242e06c9f714b05f57f7180c760f021cbb6 (patch)
tree84ab2b2c624bed231e0932bfaedbfc7c4e9cc703 /gr-uhd/python/uhd/__init__.py
parenta12b1a9ecf143d3adcb0c25ca535012445370631 (diff)
Comment typo fixing.
Luzpaz went ahead and found typos using `codespell -q 3`.
Diffstat (limited to 'gr-uhd/python/uhd/__init__.py')
-rw-r--r--gr-uhd/python/uhd/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-uhd/python/uhd/__init__.py b/gr-uhd/python/uhd/__init__.py
index 6d7f232466..0e8176f97f 100644
--- a/gr-uhd/python/uhd/__init__.py
+++ b/gr-uhd/python/uhd/__init__.py
@@ -72,8 +72,8 @@ def _prepare_uhd_swig():
def __init__(self, *args, **kwargs):
super(stream_args_t, self).__init__(*args)
for key, val in kwargs.iteritems():
- #for some reason, i cant assign a list in the constructor
- #but what i can do is append the elements individually
+ #for some reason, I can't assign a list in the constructor
+ #but what I can do is append the elements individually
if key == 'channels':
for v in val: self.channels.append(v)
elif key == 'args':
@@ -116,7 +116,7 @@ def _prepare_uhd_swig():
if len(args) > index: args[index] = cast(args[index])
if kwargs.has_key(key): kwargs[key] = cast(kwargs[key])
except: pass
- #dont pass kwargs, it confuses swig, map into args list:
+ #don't pass kwargs, it confuses swig, map into args list:
for key in ('device_addr', 'stream_args', 'io_type', 'num_channels', 'msgq'):
if kwargs.has_key(key): args.append(kwargs[key])
return old_constructor(*args)