[python] Fix arguments and variable names