SlickEdit Community

Archived Beta Discussions => SlickEdit 201x Beta Discussions => SlickEdit 2016 v21 Beta Discussion => Topic started by: jporkkahtc on October 06, 2016, 11:37:14 PM

Title: RC4: defs window is confused by print function
Post by: jporkkahtc on October 06, 2016, 11:37:14 PM
I have a class with a print() function.
The defs window doesn't much like this - instead of the function, it shows variables defined inside the function.
If I change the name of the function, then defs is correct.

Title: Re: RC4: defs window is confused by print function
Post by: Clark on October 07, 2016, 01:12:14 PM
print was a keyword in Python 2.x but it isn't any more. SlickEdit has one parser for handling both versions of Python. In this particular case, removing print as a keyword will fix this for the parser. This will be fixed in a future build. v21 has just gone gold.