Archived Read Only Forums > SlickEdit 2016 v21 Beta Discussion

RC4: defs window is confused by print function

(1/1)

jporkkahtc:
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.

Clark:
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.

Navigation

[0] Message Index

Go to full version