Files
python/reference/concepts/non_public_methods.md
Michael Morehouse 29478dd68c Organize concepts, eliminate duplication
* Stage 1

* Finish restructuring, add checkboxes.

* Minor format fixes

* fixing broken link

* fixing broken link

* fixing README link

* Fix multiples bad links

* Fix links in reference/concepts/keywords/README.md

* Correcting list description
2021-01-29 11:14:36 -05:00

747 B

Non public methods

TODO: ADD MORE

  • Methods or attributes (including those of an imported module) prefixed with an underscore, _, are conventionally treated as "non-public" methods. Python does not support data privacy in the way a language like Java does. Instead convention dictates that methods and attributes that are not prefixed with a single underscore can be expected to remain stable along with semver, i.e. a public method will be backwards compatible with minor version updates, and can change with major version updates. Generally, importing non-public functions or using non-public methods is discouraged, though Python will not explicitly stop the programmer from doing so. phone-number