diff options
author | David Cournapeau <cournape@gmail.com> | 2009-12-03 15:54:32 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2009-12-03 15:54:32 +0000 |
commit | ead042607c9d311e02b3670b3a64652a63930aa7 (patch) | |
tree | eae7ef834e170027831a7fb0074586ac2abe5af4 /numpy/distutils/compat.py | |
parent | 26e1d7f4739e39ee16f73685bbcefdac03ae4866 (diff) | |
download | numpy-ead042607c9d311e02b3670b3a64652a63930aa7.tar.gz |
Fix raise + print stmts in ccompiler.
Diffstat (limited to 'numpy/distutils/compat.py')
-rw-r--r-- | numpy/distutils/compat.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/numpy/distutils/compat.py b/numpy/distutils/compat.py new file mode 100644 index 000000000..1c37dc2b9 --- /dev/null +++ b/numpy/distutils/compat.py @@ -0,0 +1,7 @@ +"""Small modules to cope with python 2 vs 3 incompatibilities inside +numpy.distutils +""" +import sys + +def get_exception(): + return sys.exc_info()[1] |