Skip to content

Commit

Permalink
change to fullargsspec (#288)
Browse files Browse the repository at this point in the history
* change to fullargsspec

* python 2.7 fix

* import was reversed

* isort

* remove too many blank lines

* added comment

* better comment
  • Loading branch information
gsheni authored and kmax12 committed Oct 15, 2018
1 parent fcb9cda commit c92f51c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/source/upload.py
@@ -1,7 +1,7 @@
from __future__ import print_function
from builtins import input
from builtins import str

import sys
from builtins import input, str
from subprocess import call

from conf import release
Expand Down
9 changes: 8 additions & 1 deletion featuretools/primitives/utils.py
@@ -1,4 +1,4 @@
from inspect import getargspec, isclass
from inspect import isclass

import pandas as pd

Expand All @@ -7,6 +7,13 @@
import featuretools.primitives
from featuretools.utils import is_string

try:
# python 3.7 deprecated getargspec
from inspect import getfullargspec as getargspec
except ImportError:
# python 2.7 - 3.6 backwards compatibility import
from inspect import getargspec


def apply_dual_op_from_feat(f, array_1, array_2=None):
left = f.left
Expand Down

0 comments on commit c92f51c

Please sign in to comment.