Question about Objects - repost with correct email account

Gerrit Holl gerrit at
Fri Nov 21 16:07:04 CET 2003

bas68 wrote:
> >>>> x = Test("Microsoft Sucks")
> >>>> x.getSomething
> ><bound method Test.getSomething of <__main__.Test instance at 0x00C01940>>
> >>>> x.something
> >'Microsoft Sucks'

You aren't calling getSomething. Try: x.getSomething()


109. If conspirators meet in the house of a tavern-keeper, and these
conspirators are not captured and delivered to the court, the
tavern-keeper shall be put to death.
          -- 1780 BC, Hammurabi, Code of Law
Asperger Syndroom - een persoonlijke benadering:
Kom in verzet tegen dit kabinet:

More information about the Python-list mailing list