- A new type object, 'string', is added. This is a common base type
authorGuido van Rossum <guido@python.org>
Fri, 24 May 2002 19:01:59 +0000 (19:01 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 24 May 2002 19:01:59 +0000 (19:01 +0000)
commitcacfc07d083286e80b6f86939d466e186f7ea3c0
tree87e5221791901acdca69ef823d93d470679fa49c
parent9ee4b94f51d19a37db3b93222b5e15c8379db78d
- A new type object, 'string', is added.  This is a common base type
  for 'str' and 'unicode', and can be used instead of
  types.StringTypes, e.g. to test whether something is "a string":
  isinstance(x, string) is True for Unicode and 8-bit strings.  This
  is an abstract base class and cannot be instantiated directly.
Include/stringobject.h
Misc/NEWS
Objects/object.c
Objects/stringobject.c
Objects/unicodeobject.c
Python/bltinmodule.c