Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent behaviour of docstrings and tooltips. #471

Closed
GoogleCodeExporter opened this issue Aug 24, 2015 · 1 comment
Closed

Inconsistent behaviour of docstrings and tooltips. #471

GoogleCodeExporter opened this issue Aug 24, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

Fixed in version control

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

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant