diff --git a/pystellibs/helpers.py b/pystellibs/helpers.py index 6d99ab2..c72a166 100644 --- a/pystellibs/helpers.py +++ b/pystellibs/helpers.py @@ -3,7 +3,11 @@ """ import sys from functools import partial, wraps, update_wrapper -from inspect import getargspec, ismethod +try + from inspect import getargspec +except ImportError: # Apparently since py3.11 + from inspect import getfullargspec as getargspec +from inspect import ismethod import warnings import numpy as np import itertools