summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-01-18 13:12:51 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-01-18 13:12:51 (GMT)
commita8cb515a297989b731f2520f5518dde653de24ee (patch)
treee16d9df8ec4fbd052874a861900949c3b6f1e3ac /Python/ceval.c
parent98ccba8344a349d1bbc27718215156478ffa19ed (diff)
downloadcpython-a8cb515a297989b731f2520f5518dde653de24ee.zip
cpython-a8cb515a297989b731f2520f5518dde653de24ee.tar.gz
cpython-a8cb515a297989b731f2520f5518dde653de24ee.tar.bz2
Rephrase !PyErr_Occurred() comment: may=>can
Issue #29259.
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 1b8cdfc..8738470 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -1046,7 +1046,7 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag)
#ifdef Py_DEBUG
/* PyEval_EvalFrameEx() must not be called with an exception set,
- because it may clear it (directly or indirectly) and so the
+ because it can clear it (directly or indirectly) and so the
caller loses its exception */
assert(!PyErr_Occurred());
#endif
@@ -3244,7 +3244,7 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag)
if (meth_found) {
/* We can bypass temporary bound method object.
meth is unbound method and obj is self.
-
+
meth | self | arg1 | ... | argN
*/
SET_TOP(meth);