Skip to content

Commit aa021c3

Browse files
authored
Merge pull request #3 from effigies/python2_test
PY2: Import getargspec, as only args is used
2 parents 83e8912 + e1d0165 commit aa021c3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

nitime/analysis/base.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11

2-
from inspect import getfullargspec
2+
try:
3+
from inspect import getfullargspec
4+
except ImportError: # PY2
5+
from inspect import getargspec as getfullargspec
36

47
from nitime import descriptors as desc
58

0 commit comments

Comments
 (0)