mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Convert a bunch of constant strings in C to unicode.
This commit is contained in:
parent
d6d2f2f939
commit
53cbdaa84c
7 changed files with 8 additions and 8 deletions
|
@ -194,7 +194,7 @@ PyDict_New(void)
|
|||
{
|
||||
register dictobject *mp;
|
||||
if (dummy == NULL) { /* Auto-initialize dummy */
|
||||
dummy = PyString_FromString("<dummy key>");
|
||||
dummy = PyUnicode_FromString("<dummy key>");
|
||||
if (dummy == NULL)
|
||||
return NULL;
|
||||
#ifdef SHOW_CONVERSION_COUNTS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue