dmq at gain.com
Thu Mar 11 21:13:34 CET 2004
On Thu, 11 Mar 2004 18:08:46 GMT, "Paul McGuire" <bogus at bogus.net>
>"Skip Montanaro" <skip at pobox.com> wrote in message
>news:mailman.277.1079020800.19534.python-list at python.org...
>> Olaf> Is `object` (using backquotes) the same as saying str(object)?
>> Olaf> Trying to understand how backquotes work. Thanks for your help.
>> `object` is equivalent to repr(object).
>Is this syntax one of those vestigial short-cuts that is on somebody's hit
>list for future deprecation? To my eyes, `object` is more arcane than
>repr(object) - why else would we be having this thread in the first place?
see GvR's comments at:
He is recommending we drop `x` in favor of repr(x)
More information about the Python-list