WENDUM Denis 47.76.11 (agent) wrote:
> 
> While testing recursive algoritms dealing with generic lists I stumbled 
> on infinite loops which were triggered by the fact that (at least for my 
> version of Pyton) characters contain themselves.

Note that the empty string is contained in all strings, including itself.

 >>> bool('')
False
 >>> '' in ''
True
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to