Hi Liam,

On 08.07.2016 15:58, Liam Herron wrote:
>
> ##################################################
>
> # THIS DOESN'T WORK
>
> ##################################################
>
>  
>
> class MyPySmoothFunction(PyWrapSmoothFunction):
>
>    def __init__(self):
>
>       pass
>

You need to initialize the base class. For example:

   def __init__(self):
      super(MyPySmoothFunction, self).__init__()


        Stefan

-- 

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

_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
https://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to