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

Typing: connect() returns a QMetaObject.Connection object

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4: Low
    • 6.6.1, 6.5.4
    • 6.6.0
    • Type hints
    • None
    • 205e6f1da (dev), a8a4f66c9 (6.6), 96b47106c (6.5)

    Description

      Signals and Slots - Qt for Python says:

      > connect() returns a QMetaObject.Connection object

       

      However, QtCore.pyi says:

      > class SignalInstance(object):
      >     def connect(self, slot: object, type: Optional[type] = ...) -> None: ...

      Attachments

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              bers bers bers
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes