diff options
author | R David Murray <rdmurray@bitdance.com> | 2012-09-29 19:27:53 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2012-09-29 19:27:53 (GMT) |
commit | f75e65f0f4d62d53f087d259d9b6bbedb648da92 (patch) | |
tree | 573e9dac66e8741d44823e80af9dee70096dbca3 /Doc/whatsnew/3.3.rst | |
parent | 26d15bffaa39a592beb6f56272bbd3e46904d36e (diff) | |
download | cpython-f75e65f0f4d62d53f087d259d9b6bbedb648da92.zip cpython-f75e65f0f4d62d53f087d259d9b6bbedb648da92.tar.gz cpython-f75e65f0f4d62d53f087d259d9b6bbedb648da92.tar.bz2 |
Fix over-indentation of bullet lists.
Diffstat (limited to 'Doc/whatsnew/3.3.rst')
-rw-r--r-- | Doc/whatsnew/3.3.rst | 90 |
1 files changed, 45 insertions, 45 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index 8851ec1..43b238d 100644 --- a/Doc/whatsnew/3.3.rst +++ b/Doc/whatsnew/3.3.rst @@ -1913,58 +1913,58 @@ removed in Python 4. All functions using this type are deprecated: Unicode functions and methods using :c:type:`Py_UNICODE` and :c:type:`Py_UNICODE*` types: - * :c:macro:`PyUnicode_FromUnicode`: use :c:func:`PyUnicode_FromWideChar` or - :c:func:`PyUnicode_FromKindAndData` - * :c:macro:`PyUnicode_AS_UNICODE`, :c:func:`PyUnicode_AsUnicode`, - :c:func:`PyUnicode_AsUnicodeAndSize`: use :c:func:`PyUnicode_AsWideCharString` - * :c:macro:`PyUnicode_AS_DATA`: use :c:macro:`PyUnicode_DATA` with - :c:macro:`PyUnicode_READ` and :c:macro:`PyUnicode_WRITE` - * :c:macro:`PyUnicode_GET_SIZE`, :c:func:`PyUnicode_GetSize`: use - :c:macro:`PyUnicode_GET_LENGTH` or :c:func:`PyUnicode_GetLength` - * :c:macro:`PyUnicode_GET_DATA_SIZE`: use - ``PyUnicode_GET_LENGTH(str) * PyUnicode_KIND(str)`` (only work on ready - strings) - * :c:func:`PyUnicode_AsUnicodeCopy`: use :c:func:`PyUnicode_AsUCS4Copy` or - :c:func:`PyUnicode_AsWideCharString` - * :c:func:`PyUnicode_GetMax` +* :c:macro:`PyUnicode_FromUnicode`: use :c:func:`PyUnicode_FromWideChar` or + :c:func:`PyUnicode_FromKindAndData` +* :c:macro:`PyUnicode_AS_UNICODE`, :c:func:`PyUnicode_AsUnicode`, + :c:func:`PyUnicode_AsUnicodeAndSize`: use :c:func:`PyUnicode_AsWideCharString` +* :c:macro:`PyUnicode_AS_DATA`: use :c:macro:`PyUnicode_DATA` with + :c:macro:`PyUnicode_READ` and :c:macro:`PyUnicode_WRITE` +* :c:macro:`PyUnicode_GET_SIZE`, :c:func:`PyUnicode_GetSize`: use + :c:macro:`PyUnicode_GET_LENGTH` or :c:func:`PyUnicode_GetLength` +* :c:macro:`PyUnicode_GET_DATA_SIZE`: use + ``PyUnicode_GET_LENGTH(str) * PyUnicode_KIND(str)`` (only work on ready + strings) +* :c:func:`PyUnicode_AsUnicodeCopy`: use :c:func:`PyUnicode_AsUCS4Copy` or + :c:func:`PyUnicode_AsWideCharString` +* :c:func:`PyUnicode_GetMax` Functions and macros manipulating Py_UNICODE* strings: - * :c:macro:`Py_UNICODE_strlen`: use :c:func:`PyUnicode_GetLength` or - :c:macro:`PyUnicode_GET_LENGTH` - * :c:macro:`Py_UNICODE_strcat`: use :c:func:`PyUnicode_CopyCharacters` or - :c:func:`PyUnicode_FromFormat` - * :c:macro:`Py_UNICODE_strcpy`, :c:macro:`Py_UNICODE_strncpy`, - :c:macro:`Py_UNICODE_COPY`: use :c:func:`PyUnicode_CopyCharacters` or - :c:func:`PyUnicode_Substring` - * :c:macro:`Py_UNICODE_strcmp`: use :c:func:`PyUnicode_Compare` - * :c:macro:`Py_UNICODE_strncmp`: use :c:func:`PyUnicode_Tailmatch` - * :c:macro:`Py_UNICODE_strchr`, :c:macro:`Py_UNICODE_strrchr`: use - :c:func:`PyUnicode_FindChar` - * :c:macro:`Py_UNICODE_FILL`: use :c:func:`PyUnicode_Fill` - * :c:macro:`Py_UNICODE_MATCH` +* :c:macro:`Py_UNICODE_strlen`: use :c:func:`PyUnicode_GetLength` or + :c:macro:`PyUnicode_GET_LENGTH` +* :c:macro:`Py_UNICODE_strcat`: use :c:func:`PyUnicode_CopyCharacters` or + :c:func:`PyUnicode_FromFormat` +* :c:macro:`Py_UNICODE_strcpy`, :c:macro:`Py_UNICODE_strncpy`, + :c:macro:`Py_UNICODE_COPY`: use :c:func:`PyUnicode_CopyCharacters` or + :c:func:`PyUnicode_Substring` +* :c:macro:`Py_UNICODE_strcmp`: use :c:func:`PyUnicode_Compare` +* :c:macro:`Py_UNICODE_strncmp`: use :c:func:`PyUnicode_Tailmatch` +* :c:macro:`Py_UNICODE_strchr`, :c:macro:`Py_UNICODE_strrchr`: use + :c:func:`PyUnicode_FindChar` +* :c:macro:`Py_UNICODE_FILL`: use :c:func:`PyUnicode_Fill` +* :c:macro:`Py_UNICODE_MATCH` Encoders: - * :c:func:`PyUnicode_Encode`: use :c:func:`PyUnicode_AsEncodedObject` - * :c:func:`PyUnicode_EncodeUTF7` - * :c:func:`PyUnicode_EncodeUTF8`: use :c:func:`PyUnicode_AsUTF8` or - :c:func:`PyUnicode_AsUTF8String` - * :c:func:`PyUnicode_EncodeUTF32` - * :c:func:`PyUnicode_EncodeUTF16` - * :c:func:`PyUnicode_EncodeUnicodeEscape:` use - :c:func:`PyUnicode_AsUnicodeEscapeString` - * :c:func:`PyUnicode_EncodeRawUnicodeEscape:` use - :c:func:`PyUnicode_AsRawUnicodeEscapeString` - * :c:func:`PyUnicode_EncodeLatin1`: use :c:func:`PyUnicode_AsLatin1String` - * :c:func:`PyUnicode_EncodeASCII`: use :c:func:`PyUnicode_AsASCIIString` - * :c:func:`PyUnicode_EncodeCharmap` - * :c:func:`PyUnicode_TranslateCharmap` - * :c:func:`PyUnicode_EncodeMBCS`: use :c:func:`PyUnicode_AsMBCSString` or - :c:func:`PyUnicode_EncodeCodePage` (with ``CP_ACP`` code_page) - * :c:func:`PyUnicode_EncodeDecimal`, - :c:func:`PyUnicode_TransformDecimalToASCII` +* :c:func:`PyUnicode_Encode`: use :c:func:`PyUnicode_AsEncodedObject` +* :c:func:`PyUnicode_EncodeUTF7` +* :c:func:`PyUnicode_EncodeUTF8`: use :c:func:`PyUnicode_AsUTF8` or + :c:func:`PyUnicode_AsUTF8String` +* :c:func:`PyUnicode_EncodeUTF32` +* :c:func:`PyUnicode_EncodeUTF16` +* :c:func:`PyUnicode_EncodeUnicodeEscape:` use + :c:func:`PyUnicode_AsUnicodeEscapeString` +* :c:func:`PyUnicode_EncodeRawUnicodeEscape:` use + :c:func:`PyUnicode_AsRawUnicodeEscapeString` +* :c:func:`PyUnicode_EncodeLatin1`: use :c:func:`PyUnicode_AsLatin1String` +* :c:func:`PyUnicode_EncodeASCII`: use :c:func:`PyUnicode_AsASCIIString` +* :c:func:`PyUnicode_EncodeCharmap` +* :c:func:`PyUnicode_TranslateCharmap` +* :c:func:`PyUnicode_EncodeMBCS`: use :c:func:`PyUnicode_AsMBCSString` or + :c:func:`PyUnicode_EncodeCodePage` (with ``CP_ACP`` code_page) +* :c:func:`PyUnicode_EncodeDecimal`, + :c:func:`PyUnicode_TransformDecimalToASCII` Deprecated features |