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

Property object missing doc parameter

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.0
    • 1.1.0, 1.1.2, 1.2.2
    • PySide
    • PySide 1.1.1, 1.1.2, 1.2.2
    • b87951b8882d05817b6c62b7721911ecb122577c (pyside/pyside-setup/5.14)

    Description

      With Python property s and PyQt4 pyqtProperty s, there is a doc parameter, used like:

      >>> x = pyqtProperty(int, doc='x-coordinate of player')
      >>> print x.__doc__
      x-coordinate of player
      >>>
      

      PySide gladly accepts the doc argument, but doesn't seem to do anything with it:

      >>> x = Property(int, doc='x-coordinate of player')
      >>> print x.__doc__
      None
      >>>
      

      Attachments

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

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            dk D K
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes