Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2368

The type of `arguments` parameter of PySide6.QtCore.Signal in help(Signal) and PySide6 docs differs

    XMLWordPrintable

Details

    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            stsav012 Anton Yablokov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes