Moving from java to python.

Jarek Zgoda jzgoda at o2.usun.pl
Mon Nov 12 10:33:26 EST 2007


PeterBraden1 at googlemail.com napisał(a):

> 	def getConnected(self):
> 		return self._connected

No need to use accessors. Just plain attribute lookup is sufficient.

-- 
Jarek Zgoda
Skype: jzgoda | GTalk: zgoda at jabber.aster.pl | voice: +48228430101

"We read Knuth so you don't have to." (Tim Peters)



More information about the Python-list mailing list