[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Python question
From: |
Dan Halperin |
Subject: |
[Discuss-gnuradio] Python question |
Date: |
Thu, 04 Jan 2007 20:55:56 -0800 |
User-agent: |
Thunderbird 1.5.0.8 (X11/20061115) |
Hi,
I know this isn't really a gnuradio question, but a half-hour on Google
and browsing the Python site didn't find me the answer. What does ** in
Python do? Not in the exponent context (2 ** 4 = 16). In particular, I'm
looking at receive_path.py in the digital examples folder, the following
code:
# Get demod_kwargs
demod_kwargs = \
self._demod_class.extract_kwargs_from_options(options)
...
# receiver
self.packet_receiver = \
demod_pkts(fg,
self._demod_class(fg, **demod_kwargs),
access_code=None,
callback=self._rx_callback,
threshold=-1)
Is this some crazy C that SWIG does? Thanks,
-Dan
- [Discuss-gnuradio] Python question,
Dan Halperin <=