[SciPy-Dev] Code question about signal.ltisys.py

Warren Weckesser warren.weckesser at enthought.com
Mon May 21 20:33:06 EDT 2012


While taking a look at https://github.com/scipy/scipy/pull/225, which makes
a small changes to signal/ltisys.py,I noticed the surrounding code, which
has lines like this:

            self.__dict__['num'], self.__dict__['den'] = normalize(*args)


My inclination is to rewrite that as

            self.num, self.den = normalize(*args)


But am I missing something?


Warren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20120521/5a314b41/attachment.html>


More information about the SciPy-Dev mailing list