Is this normal behavior for ToString

Because str(variable) is API1 and variable.toString is API2.