1# cython: c_string_type = bytearray
2# cython: c_string_encoding = default
3
4import sys
5if sys.version_info[0] >= 3:
6    __doc__ = r"""
7        >>> isinstance(as_objects("ab\xff"), bytearray)
8        True
9        >>> as_objects("ab\xff") == bytearray("ab\xff".encode())
10        True
11        >>> isinstance(slice_as_objects("ab\xff", 1, 4), bytearray)
12        True
13        >>> slice_as_objects("ab\xffd", 1, 4) == bytearray("b\xff".encode())
14        True
15        """
16
17include "bytearray_ascii_auto_encoding.pyx"
18