[C++-sig] Creating a python class from c++

Stefan Seefeld seefeld at sympatico.ca
Wed Nov 15 21:03:07 CET 2006


James Healey wrote:

> I did have:
> 
> import MyTest
> 
> MyTest()

This doesn't look correct. You import a module,
which can't have a call operator defined. Only
objects can.

Regards,
		Stefan

-- 

      ...ich hab' noch einen Koffer in Berlin...



More information about the Cplusplus-sig mailing list