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 57a3787 commit 9f6a4f2Copy full SHA for 9f6a4f2
Objects/codeobject.c
@@ -198,10 +198,6 @@ intern_strings(PyObject *tuple)
198
199
static inline PyObject*
200
get_interned_string(PyObject *interned_dict, PyObject *s) {
201
- if (!PyUnicode_CheckExact(s)) {
202
- return NULL;
203
- }
204
-
205
PyObject *existing = PyDict_GetItemWithError(interned_dict, s);
206
if (existing == NULL) {
207
if (PyErr_Occurred()) {
0 commit comments