newsgroups at jhrothjr.com
Thu Mar 11 19:15:56 CET 2004
"Paul McGuire" <bogus at bogus.net> wrote in message
news:OW14c.904$vI3.875 at fe2.texas.rr.com...
> "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
> > `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?
I believe so. It's scheduled for removal in Python 3.0 or at the heat
death of the universe, whichever comes first.
> -- Paul
More information about the Python-list