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

Appearance settings

gh-119182: Add PyUnicodeWriter C API #119184

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Jun 17, 2024
Prev Previous commit
Next Next commit
Update Objects/unicodeobject.c
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
  • Loading branch information
vstinner and erlend-aasland authored Jun 10, 2024
commit e6195b767c21b3e21ee868d162f0718e810b7104
2 changes: 1 addition & 1 deletion 2 Objects/unicodeobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -13149,7 +13149,7 @@ PyUnicodeWriter_Create(Py_ssize_t length)
const size_t size = sizeof(_PyUnicodeWriter);
PyUnicodeWriter *pub_writer = (PyUnicodeWriter *)PyMem_Malloc(size);
if (pub_writer == NULL) {
return PyErr_NoMemory();
return (PyUnicodeWriter *)PyErr_NoMemory();
}
_PyUnicodeWriter *writer = (_PyUnicodeWriter *)pub_writer;

Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.