Tutorial - section 8.5 -- User Defined Execptions?

Erik Max Francis max at alcyone.com
Thu Apr 17 13:38:27 EDT 2003


"Colin J. Williams" wrote:

> The back ticks, as in `self.value`,  are equivalent to
> repr(`self.value`).

Actually, they're equivalent to repr(self.value).  If `x` -> repr(`x`),
then repr(`x`) -> repr(repr(`x`)) -> repr(repr(repr(`x`))) -> etc.  :-)

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ Freedom is a road seldom travelled by the multitudes
\__/ Public Enemy
    The laws list / http://www.alcyone.com/max/physics/laws/
 Laws, rules, principles, effects, paradoxes, etc. in physics.




More information about the Python-list mailing list