I'm not entirely sure this is a bug in the type stub. It depends on the interpretation of ParamSpec when used with methods. This is related to the discussion [here](https://github.com/python/typing/discussions/946) and this [bug report](https://github.com/microsoft/pyright/issues/2578) filed in the pyright issue tracker.