diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/_warnings.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Python/_warnings.c b/Python/_warnings.c index 4ea9fce47c..a9f96410c8 100644 --- a/Python/_warnings.c +++ b/Python/_warnings.c @@ -859,7 +859,6 @@ warnings_warn_explicit(PyObject *self, PyObject *args, PyObject *kwds) if (module_globals) { _Py_IDENTIFIER(get_source); - _Py_IDENTIFIER(splitlines); PyObject *tmp; PyObject *loader; PyObject *module_name; @@ -870,8 +869,6 @@ warnings_warn_explicit(PyObject *self, PyObject *args, PyObject *kwds) if ((tmp = _PyUnicode_FromId(&PyId_get_source)) == NULL) return NULL; - if ((tmp = _PyUnicode_FromId(&PyId_splitlines)) == NULL) - return NULL; /* Check/get the requisite pieces needed for the loader. */ loader = PyDict_GetItemString(module_globals, "__loader__"); |