Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3c76aa6

Browse files
committed
Remove unused variabile "plain" in builtin_exec.
1 parent 777db2d commit 3c76aa6

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Python/bltinmodule.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,6 @@ builtin_exec(PyObject *self, PyObject *args)
793793
{
794794
PyObject *v;
795795
PyObject *prog, *globals = Py_None, *locals = Py_None;
796-
int plain = 0;
797796

798797
if (!PyArg_UnpackTuple(args, "exec", 1, 3, &prog, &globals, &locals))
799798
return NULL;
@@ -802,7 +801,6 @@ builtin_exec(PyObject *self, PyObject *args)
802801
globals = PyEval_GetGlobals();
803802
if (locals == Py_None) {
804803
locals = PyEval_GetLocals();
805-
plain = 1;
806804
}
807805
if (!globals || !locals) {
808806
PyErr_SetString(PyExc_SystemError,

0 commit comments

Comments
 (0)