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

Invalid syntax in QtQml.pyi

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          For Gerrit Dashboard: PYSIDE-2364
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes