osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

singleton ... again


Steven D'Aprano wrote:
> Of course it can happen by accident. It's happened to me, where I've 
> accidentally called NoneType() (which raises, rather than returning a new 
> instance).

Well, "unlikely to happen by accident", then.

-- 
Greg