backquote
Paul McGuire
bogus at bogus.net
Thu Mar 11 13:08:46 EST 2004
"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).
>
> Skip
>
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?
-- Paul
More information about the Python-list
mailing list