-
Suggestion
-
Resolution: Fixed
-
Not Evaluated
-
None
-
None
-
3c66c456a (dev), f3b721534 (6.8)
Reported from PySide6-stubs
For some reason, the signature of QObject.inherits() is incorrect:
def inherits(self, classname: bytes | bytearray | memoryview, /) -> bool: ...
Correct signature is :
def inherits(self, classname: str, /) -> bool: ...
This bug is present for several other Qt functions or methods by the way
| For Gerrit Dashboard: PYSIDE-3046 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 631019,5 | type hints: Correct type signature for QObject.inherits() | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
| 631388,2 | type hints: Correct type signature for QObject.inherits() | 6.8 | pyside/pyside-setup | Status: MERGED | +2 | 0 |