Coding style

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Wed Jul 19 09:53:25 EDT 2006


In <44be15b1_4 at news.bluewin.ch>, Boris Borcic wrote:

>> And I don't find `list(False)` to return an empty list be very obvious.
> 
> What would be your choice ?

``list()`` or ``[]`` for empty lists and a `TypeError` for
``list(False)``. Just like it is right now.

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list