In Python 2.x, using backticks to get decimal string from int object is Horrible?
Because backticks are repr()
, not str()
? I have noticed that when I answering this question.
In Python source, they have same function in Python source, intobject.c
(reprfunc)int_to_decimal_string, /* tp_repr */
....
(reprfunc)int_to_decimal_string, /* tp_str */
What do you think?