Uwe.Schneider
Uwe.Schneider

Reputation: 1415

Understanding the class expression __init__(${1:self})$0:

when using the new Spyder in Python's Anaconda, the def __init__ can be auto-completed to

__init__(${1:self})$0:

I would like to know, wether this expression makes sense in this position (or if it is an error)and what it means.

Best regards

Upvotes: 0

Views: 85

Answers (1)

whilrun
whilrun

Reputation: 1724

The autocompleted statement is not meaningful in Python's context. Actually this is a known bug and should have been fixed. Please refer to this github issue

Upvotes: 1

Related Questions