summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-01-18 14:12:51 +0100
committerVictor Stinner <victor.stinner@gmail.com>2017-01-18 14:12:51 +0100
commit4a6bc8201521488a56ced3d3825e21915f681fae (patch)
treea25dc576650dd6f923a450fda14fda5147eceb2e /Python
parent74d6d9a64feed656f54ca069e3ccc6e4bf1db270 (diff)
downloadcpython-4a6bc8201521488a56ced3d3825e21915f681fae.tar.gz
Rephrase !PyErr_Occurred() comment: may=>can
Issue #29259.
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 1b8cdfc663..87384709c9 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);