pnijhara / gitsome

Bad type operand placement PTC-W0024
Style
Minor
4 years ago4 years old
type should be on the left side of the comparision operator
1112        if not raw_arg.endswith("\n"):
1113            raw_arg += "\n"
1114        arg = execer.exec(raw_arg, mode=mode, glbs=glbs, locs=locs, filename=filename)
1115    elif kind is type:1116        arg = type(execer.eval(raw_arg, glbs=glbs, locs=locs, filename=filename))
1117    else:
1118        msg = "kind={0!r} and mode={1!r} was not recognized for macro " "argument {2!r}"