The Smart Enter completion enables you to create syntactically correct code constructs.

PyCharm automatically completes a method declaration with the mandatory parameter self. Start typing a method declaration in a Python class, and PyCharm will insert self after the opening bracket of the parameters list:

python_self

See Also

Reference:

Web Resources: