Karthikeyan Singaravelan <[email protected]> added the comment:
apply was a builtin in Python 2 and not sure 2to3 can differentiate between user defined functions that shadow builtins. https://docs.python.org/3.8/library/2to3.html#2to3fixer-apply . Removes usage of apply(). For example apply(function, *args, **kwargs) is converted to function(*args, **kwargs). You can skip the apply fixer: 2to3 -x apply /tmp/bar.py ---------- nosy: +xtreak _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue39670> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
