[Python-Dev] Re: [Python-checkins] python/dist/src/Lib types.py,1.26,1.27

Guido van Rossum guido@python.org
Wed, 22 May 2002 14:37:19 -0400


>     Guido> Can you give a code example using BooleanType?
> 
> http://sourceforge.net/tracker/index.php?func=detail&aid=559288&group_id=5470&atid=305470

You mean the use of dispatch[BooleanType]?  You can use dispatch[bool]
just as well -- 'bool' is the same object as 'BooleanType'.  So I'm
still confused why you'd have to do anything.

--Guido van Rossum (home page: http://www.python.org/~guido/)