[Python-ideas] True and False are singletons

Steven D'Aprano steve at pearwood.info
Mon Mar 18 18:48:42 EDT 2019


On Mon, Mar 18, 2019 at 10:32:38PM +1100, Chris Angelico wrote:

> "Singleton" technically means that there is only one such object.

True, but it is common to abuse the term to mean only a fixed, small 
number of such objects, since "duoton" (for two) and "tripleton" (for 
three) have never caught on.



-- 
Steven


More information about the Python-ideas mailing list