SlickEdit Community

Archived Read Only Forums => 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.