Tutorial - section 8.5 -- User Defined Execptions?
Erik Max Francis
max at alcyone.com
Wed Apr 16 06:52:44 EDT 2003
user at domain.invalid wrote:
> What do the back ticks in method "__str__" mean?
The backquotes are a way of saying "evaluate the repr of this
expression." That is, `x` is the same as repr(x). Most consider the
use of backquotes for this purpose gauche.
--
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/ \ Maybe soul mates exist / After all
\__/ Des'ree
Bosskey.net: Aliens vs. Predator 2 / http://www.bosskey.net/avp2/
A personal guide to Aliens vs. Predator 2.
More information about the Python-list
mailing list