mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
bpo-38236: Fix init_dump_ascii_wstr() (GH-16333)
Add missing "return;" (to not dereference NULL pointer).
This commit is contained in:
parent
fcdb027234
commit
88e6447451
1 changed files with 1 additions and 0 deletions
|
@ -2547,6 +2547,7 @@ init_dump_ascii_wstr(const wchar_t *str)
|
|||
{
|
||||
if (str == NULL) {
|
||||
PySys_WriteStderr("(not set)");
|
||||
return;
|
||||
}
|
||||
|
||||
PySys_WriteStderr("'");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue