Tuple Format?

Ben Wolfson rumjuggler at cryptarchy.org
Sat Sep 2 23:02:18 EDT 2000


On Sun, 03 Sep 2000 02:49:58 GMT, nobody at nowhere.nohow (Grant Edwards)
wrote:

>I don't think the single back-quote "`" is used for anything in Python, is
>it?

Backquotes around an object (`x`) appear to be a shorthand for calling
repr() on that object.  It seems rather odd, to me, that there should be
two ways to do such a simple thing.

-- 
Barnabas T. Rumjuggler's page of dumbth: members.home.net/rumjuggler

In Xanadu did Ozymandias a stately edict once decree: "look upon my
Pleasure Dome, ye mighty, and despair!"
 -- David Zacuto



More information about the Python-list mailing list