diff options
Diffstat (limited to 'Python/symtable.c')
-rw-r--r-- | Python/symtable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/symtable.c b/Python/symtable.c index 89c7914..58f673e 100644 --- a/Python/symtable.c +++ b/Python/symtable.c @@ -94,7 +94,7 @@ ste_repr(PySTEntryObject *ste) "<symtable entry %.100s(%ld), line %d>", PyString_AS_STRING(ste->ste_name), PyInt_AS_LONG(ste->ste_id), ste->ste_lineno); - return PyString_FromString(buf); + return PyUnicode_FromString(buf); } static void |