Y
Y
Yevgeni2018-08-24 00:31:56
Python
Yevgeni, 2018-08-24 00:31:56

A single underscore before the name of a class method. For what?

Do I understand correctly that a single underscore in the method name ( def _methodname() ) of a class method is nothing more than a label and indicates that this method was created for internal use?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question