<div dir="ltr">You're right, its perfectly ok, I was checking against the instance object instead of the class, sorry for the noise.<br><div><br> Widget.prop.__doc__<br> 'from docstring'<br><br></div><div>Thanks<br></div><div><br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-26 10:15 GMT+01:00 Phil Thompson <span dir="ltr"><<a href="mailto:phil@riverbankcomputing.com" target="_blank">phil@riverbankcomputing.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 26 Oct 2015, at 8:43 a.m., Javier Santacruz López-Cepero <<a href="mailto:jsl@taric.es" target="_blank">jsl@taric.es</a>> wrote:<br>
><br>
> Hi Phil,<br>
><br>
><br>
> Thank you for the fix! :)<br>
><br>
> However, I've got to install PyQt 5.5.1 and got the following behaviour; When repeating my previous example, I get indeed a docstring, but its always the same and it comes from the standard docstring `str.__doc__`.<br>
<br>
</span>...which is what you would expect. In your previous example you were printing the docstring of the property, ie. Widget.prop.__doc__. In this example you are printing the docstring of the *value* of the property, ie. w.prop.__doc__ which is a str.<br>
<span><font color="#888888"><br>
Phil</font></span></blockquote></div><br></div></div>