bruno at modulix wrote:

>> In Python, a function not intended to be overriden should be either
>> have a name starting with an underscore

> actually with *two* underscores. The single-leading-underscore naming
> scheme is the convention for 'protected' (read: 'implementation, not
> API') attributes.

That's what I meant.  "A.func" looked like an internal implementation
detail.

>> or be documented.

Having the implementation details documented too would be nice, but
hardly enforceable in real life.

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

Reply via email to