[Python-ideas] '' in 'abc' == True
Devin Jeanpierre
jeanpierreda at gmail.com
Wed Jul 18 20:06:59 CEST 2012
On Wed, Jul 18, 2012 at 1:58 PM, Masklinn <masklinn at masklinn.net> wrote:
> A Python string, you may want to note, is a string. Not a sequence of
> characters.
It's both (with the caveat that, in Python, a character is just a
string of length 1).
(See: http://docs.python.org/reference/datamodel.html#the-standard-type-hierarchy
)
-- Devin
More information about the Python-ideas
mailing list