Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a9ac82 commit 3e8d6cbCopy full SHA for 3e8d6cb
1 file changed
Objects/object.c
@@ -785,7 +785,7 @@ PyObject_GetAttrString(PyObject *v, const char *name)
785
786
if (Py_TYPE(v)->tp_getattr != NULL)
787
return (*Py_TYPE(v)->tp_getattr)(v, (char*)name);
788
- w = PyUnicode_InternFromString(name);
+ w = PyUnicode_FromString(name);
789
if (w == NULL)
790
return NULL;
791
res = PyObject_GetAttr(v, w);
0 commit comments