Cleanning up a code

Could someone help me? I keep getting a TypeError: object .init() takes exactly one argument (instance to initialize). Here’s the code.

class ConnectPage(GridLayout):
def init(self, **kwargs):
super().init(**kwargs)
self.cols = 2
Can someone show me what’s wrong with this code and show me how to clean it up?

You’d have to show where you’re calling it. I think you’re doing this:

ConnectPage.init()

But you’d have to do this:

cp = ConnectPage()
cp.init()

Also, you can post code like this:

[code]
# code here
[/code]

Or like this:

```
# code here
```