From 1f87360d044332656ae0d898aa8a2c966de5e04a Mon Sep 17 00:00:00 2001 From: lecoanet Date: Wed, 29 May 2002 15:05:25 +0000 Subject: * (Zinc.__str__): Patch propos� par D.Pavet. --- Python/Zinc.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Python') diff --git a/Python/Zinc.py b/Python/Zinc.py index 798a173..3b923b3 100644 --- a/Python/Zinc.py +++ b/Python/Zinc.py @@ -60,6 +60,8 @@ if nok : return 0 ''' return sversion class Zinc(Widget): + def __str__(self): + return("Zinc instance") def __init__(self, master=None, cnf={}, **kw): Widget.__init__(self, master, 'zinc', cnf, kw) self.items = {} -- cgit v1.1