Fixed bug with inspection of arguments in Python 3