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

QColorConstants.Svg type hints are invalid.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.7.0
    • Type hints
    • None
    • All

      PYSIDE-2263 added type hints for QColorConstants and QColorConstants.Svg however the generated stub file is invalid.

      class QColorConstants(Shiboken.Object):
      
          Black                     = ...  # type: QColor
          ...
          Yellow                    = ...  # type: QColor
      
          class Svg(Shiboken.Object): ...
      
              aliceblue                 = ...  # type: QColor

      The elipsis after class Svg(Shiboken.Object): should not be there.

      Looks like a bug in your stub generator.

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

            ctismer Christian Tismer
            gentlegiantjgc J C
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes