summaryrefslogtreecommitdiff
path: root/numpy/f2py/__init__.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-08-18 11:51:25 -0600
committerCharles Harris <charlesr.harris@gmail.com>2013-08-18 11:51:25 -0600
commitfbd6510d58a47ea0d166c48a82793f05425406e4 (patch)
tree330ce703eb02d20f96099c3fe0fc36ae33d4905b /numpy/f2py/__init__.py
parent8ddb0ce0acafe75d78df528b4d2540dfbf4b364d (diff)
downloadnumpy-fbd6510d58a47ea0d166c48a82793f05425406e4.tar.gz
STY: Giant comma spacing fixup.
Run the 2to3 ws_comma fixer on *.py files. Some lines are now too long and will need to be broken at some point. OTOH, some lines were already too long and need to be broken at some point. Now seems as good a time as any to do this with open PRs at a minimum.
Diffstat (limited to 'numpy/f2py/__init__.py')
-rw-r--r--numpy/f2py/__init__.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/numpy/f2py/__init__.py b/numpy/f2py/__init__.py
index 26a63daa8..ccdbd4e0b 100644
--- a/numpy/f2py/__init__.py
+++ b/numpy/f2py/__init__.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
from __future__ import division, absolute_import, print_function
-__all__ = ['run_main','compile','f2py_testing']
+__all__ = ['run_main', 'compile', 'f2py_testing']
import os
import sys
@@ -32,13 +32,13 @@ def compile(source,
else:
fname = source_fn
- f = open(fname,'w')
+ f = open(fname, 'w')
f.write(source)
f.close()
- args = ' -c -m %s %s %s'%(modulename,fname,extra_args)
- c = '%s -c "import numpy.f2py as f2py2e;f2py2e.main()" %s' %(sys.executable,args)
- s,o = exec_command(c)
+ args = ' -c -m %s %s %s'%(modulename, fname, extra_args)
+ c = '%s -c "import numpy.f2py as f2py2e;f2py2e.main()" %s' %(sys.executable, args)
+ s, o = exec_command(c)
if source_fn is None:
try: os.remove(fname)
except OSError: pass