0 votes
in Python by
Does Python make use of access specifiers?

1 Answer

0 votes
by

Python does not make use of access specifiers and also it does not provide a way to access an instance variable. Python introduced a concept of prefixing the name of the method, function, or variable by using a double or single underscore to act like the behaviour of private and protected access specifiers.

Related questions

0 votes
asked May 16, 2020 in Python by Robindeniel
0 votes
asked Oct 11, 2021 in Python by rajeshsharma
...