masroore / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

Inconsistent behaviour of docstrings and tooltips. #471

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. class Point()
       """ blah, blah """

       def __init__(self, x=0, y=0):
           """ Create a new instance of a point """
   p = Point(       

2. >>> q = Point(

What is the expected output? What do you see instead?

Within the script I get the tooltip I expect: the parameter
list and the tooltip from the __init__ function are shown.

But if I try to instantiate a point in the immediate window,
it behaves differently, telling me that the parameters are 
unknown, and showing me the class docstring "blah, blah"
rather than the initializer's docstring.

What version of the product are you using? On what operating system?

PyScripter 2.4.1.0 on Windows 7

Original issue reported on code.google.com by cspwc...@gmail.com on 19 Jan 2011 at 4:58

GoogleCodeExporter commented 9 years ago
Fixed in version control

Original comment by pyscripter on 14 Jun 2011 at 11:08