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

Invalid syntax in QtQml.pyi

XMLWordPrintable

    • 6bcc55e32 (dev), 9e1ef5feb (6.5)

      In QtQml.pyi, QQmlExpression has:

          def evaluate(self) -> Tuple[<built-in function any>, bool]: ...
      

      from

       QVariant QQmlExpression::evaluate(bool *valueIsUndefined = nullptr);
      

      Which causes mypy to complain about a syntax error there.

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

            kleint Friedemann Kleint
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes