10-08-2009 Ulrich Eckhardt <eckha...@satorlaser.com> wrote:

So, the type is a part of the public API, but its constructor is not. Should
I mark the type as private (with a leading underscore) or not?

IMHO you shouldn't (i.e. name should be marked "public") because of
possible usage of e.g. "isinstance(foo, YourType)".

Cheers,
*j

--
Jan Kaliszewski (zuo) <z...@chopin.edu.pl>
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to