[Python-checkins] cpython (3.2): Remove unused variabile "plain" in builtin_exec.

ezio.melotti python-checkins at python.org
Wed Nov 21 17:37:25 CET 2012


http://hg.python.org/cpython/rev/305d2aa5c129
changeset: 80549:305d2aa5c129
branch: 3.2
parent: 80546:5c39e3906ce9
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Wed Nov 21 18:36:08 2012 +0200
summary:
 Remove unused variabile "plain" in builtin_exec.
files:
 Python/bltinmodule.c | 2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -793,7 +793,6 @@
 {
 PyObject *v;
 PyObject *prog, *globals = Py_None, *locals = Py_None;
- int plain = 0;
 
 if (!PyArg_UnpackTuple(args, "exec", 1, 3, &prog, &globals, &locals))
 return NULL;
@@ -802,7 +801,6 @@
 globals = PyEval_GetGlobals();
 if (locals == Py_None) {
 locals = PyEval_GetLocals();
- plain = 1;
 }
 if (!globals || !locals) {
 PyErr_SetString(PyExc_SystemError,
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /