Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6fc4ecc

Browse files
vstinnerPranjal095
authored andcommitted
pythongh-133968: Update PyUnicodeWriter_WriteASCII() documentation (python#135297)
The function was added to Python 3.14.
1 parentc9028a3 commit6fc4ecc

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

‎Doc/c-api/unicode.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1827,7 +1827,7 @@ object.
18271827
On success, return ``0``.
18281828
On error, set an exception, leave the writer unchanged, and return ``-1``.
18291829
1830-
..versionadded::next
1830+
..versionadded::3.14
18311831
18321832
..c:function::intPyUnicodeWriter_WriteWideChar(PyUnicodeWriter *writer, const wchar_t *str, Py_ssize_t size)
18331833

‎Doc/whatsnew/3.15.rst‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -298,12 +298,6 @@ New features
298298
functions as replacements for:c:func:`PySys_GetObject`.
299299
(Contributed by Serhiy Storchaka in:gh:`108512`.)
300300

301-
* Add:c:func:`PyUnicodeWriter_WriteASCII` function to write an ASCII string
302-
into a:c:type:`PyUnicodeWriter`. The function is faster than
303-
:c:func:`PyUnicodeWriter_WriteUTF8`, but has an undefined behavior if the
304-
input string contains non-ASCII characters.
305-
(Contributed by Victor Stinner in:gh:`133968`.)
306-
307301
* Add:c:type:`PyUnstable_Unicode_GET_CACHED_HASH` to get the cached hash of
308302
a string. See the documentation for caveats.
309303
(Contributed by Petr Viktorin in:gh:`131510`)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp