Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix errors.
  • Loading branch information
serhiy-storchaka committed Dec 27, 2025
commit 50eb52dcdcb66d918dd3ecfc07076f6f113587f3
4 changes: 2 additions & 2 deletions Doc/whatsnew/3.15.rst
Original file line number Diff line number Diff line change
Expand Up @@ -435,14 +435,14 @@ base64
(Contributed by Hauke D in :gh:`143103`.)

* Added the *wrapcol* parameter in :func:`~base64.b64encode`.
(Contributed by Serhiy Storchaka in :gh:``.)
(Contributed by Serhiy Storchaka in :gh:`143214`.)


binascii
--------

* Added the *wrapcol* parameter in :func:`~binascii.b2a_base64`.
(Contributed by Serhiy Storchaka in :gh:``.)
(Contributed by Serhiy Storchaka in :gh:`143214`.)


calendar
Expand Down
2 changes: 1 addition & 1 deletion Modules/binascii.c
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ binascii_b2a_base64_impl(PyObject *module, Py_buffer *data, size_t wrapcol,

return PyBytesWriter_FinishWithPointer(writer, ascii_data);

toolong:
toolong:;
binascii_state *state = get_binascii_state(module);
Comment thread
serhiy-storchaka marked this conversation as resolved.
if (state == NULL) {
return NULL;
Expand Down