Tuple Format?

Grant Edwards nobody at nowhere.nohow
Sun Sep 3 05:56:13 CEST 2000


On Sun, 03 Sep 2000 03:02:18 GMT, Ben Wolfson <rumjuggler at cryptarchy.org> wrote:
>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.

Doh!  I knew that.  For some reason I never use it.

That's it then.  New keyboards for everybody.

-- 
Grant Edwards                   grante             Yow!  .. Am I in a SOAP
                                  at               OPERA??
                               visi.com            



More information about the Python-list mailing list