On 15 dic, 11:31, "Will Ware" <[EMAIL PROTECTED]> wrote:
> 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.

In Python, the usual way of saying "don't play with me" is prepending
an underscore: _private
BTW, have you *ever* tested your code?

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to