Tutorial - section 8.5 -- User Defined Execptions?
Bengt Richter
bokr at oz.net
Thu Apr 17 13:35:23 EDT 2003
On Thu, 17 Apr 2003 12:40:35 -0400, "Colin J. Williams" <cjw at sympatico.ca> wrote:
>user at domain.invalid wrote:
[...]
>> What do the back ticks in method "__str__" mean?
>
>The back ticks, as in `self.value`, are equivalent to repr(`self.value`).
ITYM ... repr(self.value).
>
>ie. it provides the ``official'' string representation of self.value.
>
>Colin W.
>
>
Regards,
Bengt Richter
More information about the Python-list
mailing list