bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#50996: 29.0.50; formatargspec is deprecated since python 3.5


From: Carlos Pita
Subject: bug#50996: 29.0.50; formatargspec is deprecated since python 3.5
Date: Sun, 3 Oct 2021 14:21:22 -0300

This will do it:

                if hasattr(inspect, 'signature'):
                    args = str(inspect.signature(target))
                else:
                    args = inspect.formatargspec(*argspec_function(target))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]