Tuple Format?

Grant Edwards nobody at nowhere.nohow
Sun Sep 3 18:56:47 EDT 2000


In article <968021312.139090337 at news.silcom.com>, Clarence Gardner wrote:
>
>>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.
>>
>Allow me to remove the oddity, then.  What is inside of the backquotes
>is not an object, but an expression.  The backquotes evaluate the expression
>and return the result, stringified.

OK, so he should have typed "expression" rather than "object".  The point is
still valid.

-- 
Grant Edwards                   grante             Yow!  -- In 1962, you could
                                  at               buy a pair of SHARKSKIN
                               visi.com            SLACKS, with a "Continental
                                                   Belt," for $10.99!!



More information about the Python-list mailing list