diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
commit | 718c552901d703c502ccbefdfc3c9028d608b947 (patch) | |
tree | 46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /contrib/tools/python/src/Include/stringobject.h | |
parent | e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff) | |
download | ydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/tools/python/src/Include/stringobject.h')
-rw-r--r-- | contrib/tools/python/src/Include/stringobject.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/tools/python/src/Include/stringobject.h b/contrib/tools/python/src/Include/stringobject.h index 12cc093c62..45e6156fd8 100644 --- a/contrib/tools/python/src/Include/stringobject.h +++ b/contrib/tools/python/src/Include/stringobject.h @@ -129,7 +129,7 @@ PyAPI_FUNC(PyObject*) PyString_AsEncodedObject( /* Encodes a string object and returns the result as Python string object. - If the codec returns a Unicode object, the object is converted + If the codec returns a Unicode object, the object is converted back to a string using the default encoding. DEPRECATED - use PyString_AsEncodedObject() instead. */ @@ -152,7 +152,7 @@ PyAPI_FUNC(PyObject*) PyString_AsDecodedObject( /* Decodes a string object and returns the result as Python string object. - If the codec returns a Unicode object, the object is converted + If the codec returns a Unicode object, the object is converted back to a string using the default encoding. DEPRECATED - use PyString_AsDecodedObject() instead. */ @@ -164,7 +164,7 @@ PyAPI_FUNC(PyObject*) PyString_AsDecodedString( ); /* Provides access to the internal data buffer and size of a string - object or the default encoded version of a Unicode object. Passing + object or the default encoded version of a Unicode object. Passing NULL as *len parameter will force the string buffer to be 0-terminated (passing a string with embedded NULL characters will cause an exception). */ |