moses-palmer / pynput

Sends virtual input commands
GNU Lesser General Public License v3.0
1.78k stars 248 forks source link

Always use 0 arguments in `keyboard.Controller.__init__` #519

Open sobolevn opened 1 year ago

sobolevn commented 1 year ago

This is a problem for us in typeshed, see: https://github.com/python/typeshed/pull/9235

This change is also backward compatible, becase super(_base.Controller, self).__init__() was always called. And no arguments were allowed in _base.Controller.__init__ anyway, so it should be all good.