FFT-tools: modernize string formatting and exception handling
authorW. Trevor King <wking@tremily.us>
Sun, 18 Nov 2012 20:48:52 +0000 (15:48 -0500)
committerW. Trevor King <wking@tremily.us>
Sun, 18 Nov 2012 21:49:21 +0000 (16:49 -0500)
commit14544fb931b9db8c9118ed8ee08a36e0c51d58da
treef6ee5b171e501ac4685d753b4e091a9fbe091c89
parentd4cb555322ff88edb4a5b260ed4f8811aad3b55c
FFT-tools: modernize string formatting and exception handling

Changes:
* "print ..." -> "print(...)" (required for Python 3+)
* "'%s' % (...)" -> "'{}'.format(...)" for Python 2.7+
* prefer "raise ValueError(...)" to "assert ..."
* a few minor docstring cleanups for PEP 257 compliance
FFT_tools.py