Publisher review:Restrictive APIs for Python script contains a function that allows a class to specify its API, and raise AttributeErrors for disallowed accesses. Python has no inherent provision for a restrictive API that blocks accesses to methods and variables outside an allowed set.
Inexperienced Python programmers may fail to adhere to an agreed-upon API, directly accessing the private internals of a class. Adherence to defined APIs is a good thing.
This script contains a function that allows a class to specify its API, and raise AttributeErrors for disallowed aify its A
Restrictive APIs for Python 1.0 is a Python script for Programming Methods and Algorithms scripts design by Will Ware.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
contains a function that allows a class to specify its API, and raise AttributeErrors for disallowed accesses.
Operating system:Windows / Linux / Mac OS / BSD / Solaris