diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-01-18 13:12:51 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2017-01-18 13:12:51 (GMT) |
commit | a8cb515a297989b731f2520f5518dde653de24ee (patch) | |
tree | e16d9df8ec4fbd052874a861900949c3b6f1e3ac /Objects/methodobject.c | |
parent | 98ccba8344a349d1bbc27718215156478ffa19ed (diff) | |
download | cpython-a8cb515a297989b731f2520f5518dde653de24ee.zip cpython-a8cb515a297989b731f2520f5518dde653de24ee.tar.gz cpython-a8cb515a297989b731f2520f5518dde653de24ee.tar.bz2 |
Rephrase !PyErr_Occurred() comment: may=>can
Issue #29259.
Diffstat (limited to 'Objects/methodobject.c')
-rw-r--r-- | Objects/methodobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/methodobject.c b/Objects/methodobject.c index 5331cfb..ebea8b3 100644 --- a/Objects/methodobject.c +++ b/Objects/methodobject.c @@ -95,7 +95,7 @@ _PyMethodDef_RawFastCallDict(PyMethodDef *method, PyObject *self, PyObject **arg int flags; /* _PyMethodDef_RawFastCallDict() 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()); |