Pārlūkot izejas kodu

starpupy: use inspect.getfullargspec() instead of inspect.getargspec()for python3

HE Kun 4 gadi atpakaļ
vecāks
revīzija
913ef45a09
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      starpupy/src/joblib.py

+ 1 - 1
starpupy/src/joblib.py

@@ -94,7 +94,7 @@ def future_generator(iterable, n_jobs, dict_task):
 		# the function is always the first element
 		f=iterable[0]
 		# get the name of formal arguments of f
-		formal_args=inspect.getargspec(f).args
+		formal_args=inspect.getfullargspec(f).args
 		# get the arguments list
 		args=[]
 		# argument is arbitrary in iterable[1]