Data#
Base class for the Bytes
and Str
parameters.
Previously Str
was as subclass of Bytes
. Now the common functionality
has been split into this base class so that isinstance(foo, Bytes)
wont
be True
when foo
is actually an Str
instance (which is confusing).