Closed
Description
line 133 in CallTips.py of my install uses deprecated 'inspect.formatargspec'
From interactive session
- failure happens as soon as I type the '(' in >>>Base(
PythonWin 3.11.2 (tags/v3.11.2:878ead1, Feb 7 2023, 16:38:35) [MSC v.1934 64 bit (AMD64)] on win32.
Portions Copyright 1994-2018 Mark Hammond - see 'Help/About PythonWin' for further copyright information.
>>> class Base:
... def __new__(cls, *args):
... return object.__new__(cls).__init__(*args)
... def __init__(self, *args):
... print(args)
...
>>> BaseFailed to format the args
Traceback (most recent call last):
File "C:\Users\c32825\AppData\Local\Programs\Python\Python311\Lib\site-packages\pythonwin\pywin\idle\CallTips.py", line 133, in get_arg_text
argText = inspect.formatargspec(*inspect.getfullargspec(fob))
^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'formatargspec'
(
Metadata
Metadata
Assignees
Labels
No labels