I am attempting to implement a MVVM WPF application in Python.Net.

The ViewModel class needs to implement the INotifyPropertyChanged
interface.

class ViewModel(System.ComponentModel.INotifyPropertyChanged):
    def __init__(self):
        pass

vm = ViewModel()

gives exception:
"TypeError: interface takes exactly one argument"

I am not sure what is the reason.

I remember a post last year saying the the interface inheritance is
implemented in a development brand and not integrated into main branch. not
sure if it is the reason.

I am using python 2.1.0.dev1.

thanks
_________________________________________________
Python.NET mailing list - PythonDotNet@python.org
https://mail.python.org/mailman/listinfo/pythondotnet

Reply via email to