Details
-
Bug
-
Resolution: Fixed
-
P4: Low
-
6.5.1.1
-
bc7a9bf03 (dev), f059a487f (6.5), 56cc79818 (dev), 5413a9974 (tqtc/lts-6.2)
Description
The docs on QtCore.Signal read the following signature:
class PySide6.QtCore.Signal([type1 [, type2...]] [, name="" [, arguments=[]]])
( sources/pyside6/doc/extras/QtCore.Signal.rst )
The arguments parameter is a list, and this is explicitly mentioned twice.
However, help(QtCore.Signal) states the following:
_init_(self, *types: type, name: Optional[str] = None, arguments: Optional[str] = None) -> None
Please notice the type of the arguments parameter. Here, it's just a string, a single one.
Attachments
For Gerrit Dashboard: PYSIDE-2368 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
499510,3 | Fix signature of PySide6.QtCore.Signal | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
499681,7 | PySide6: Strictly check the argument names argument to Signal | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
499844,2 | Fix signature of PySide6.QtCore.Signal | 6.5 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
499892,3 | Fix signature of PySide6.QtCore.Signal | tqtc/lts-6.2 | pyside/tqtc-pyside-setup | Status: MERGED | +2 | 0 |