In Python, there is no point in having multiple init methods. While technically possible, it makes no sense because the latter method overrides the previous one. The script here would probably pick one of them, I don't know which one, it is decided by the inspect library.

Ah, OK, I thought you could have __init__(self, a) and __init__(self, a, b) but after checking now, there can only be one __init__() in python.

Sure we can do that. But IMO both ideas would be better handled in seperate PRs to not blow this one even more.

Yeah, sure.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3039/c1315841429@github.com>