mirror of
https://github.com/python/cpython.git
synced 2026-06-24 03:53:12 -04:00
cacfc07d08
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.