On Tue, Aug 19, 2014 at 11:42 AM, Ian Kelly <ian.g.ke...@gmail.com> wrote:
> When I need to do this, I use:
>
>     SENTINEL = object()
>
> It's still a singleton, and why should a sentinel be mutable?

Old habits die hard, I guess. I've been using Python since long before
object() existed. :-)

Skip
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to