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

typing: qtTrId() argument should be string

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • Not Evaluated
    • 6.9.0, 6.10.0
    • 6.8.2
    • Type hints
    • None
    • 8dc87c68f (dev), f2e361bfc (6.9), e5677f10f (6.8)

    Description

      qtTrId() is incorrectly declared as accepting argument as byte-like but actually accepts string.

      Example code which should type-check correctly :

      qTrId('abc')

       

      Attachments

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

        Activity

          People

            ctismer Christian Tismer
            bluebird75 Philippe Fremy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes