Find removed inspect.getargspec()
Proprietaryinspect.getargspec() was removed in Python 3.11. inspect.getfullargspec() returns seven fields where getargspec() returned four, and calls the keywords field varkw, so each call is marked for a manual change. A reference to the function that is not a call is not marked.
org. openrewrite. python. migrate. FindInspectGetargspecmod run . --recipe= org. openrewrite. python. migrate. FindInspectGetargspecInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.