diff options
author | Christian Tismer <tismer@stackless.com> | 2018-06-10 22:48:28 (GMT) |
---|---|---|
committer | Ned Deily <nad@python.org> | 2018-06-10 22:48:28 (GMT) |
commit | 8398713cea0eb17b013f25f86bef47c7e5e63139 (patch) | |
tree | bbfcab1633b490ea30724338d5d4e3a43ece3a9b /Objects | |
parent | 877b23202b7e7d4f57b58504fd0eb886e8c0b377 (diff) | |
download | cpython-8398713cea0eb17b013f25f86bef47c7e5e63139.zip cpython-8398713cea0eb17b013f25f86bef47c7e5e63139.tar.gz cpython-8398713cea0eb17b013f25f86bef47c7e5e63139.tar.bz2 |
bpo-33738: Address review comments in GH #7477 (GH-7585)
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/abstract.c | 2 | ||||
-rw-r--r-- | Objects/exceptions.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/Objects/abstract.c b/Objects/abstract.c index e2700e3..192ade1 100644 --- a/Objects/abstract.c +++ b/Objects/abstract.c @@ -1245,6 +1245,7 @@ PyNumber_Absolute(PyObject *o) } #undef PyIndex_Check + int PyIndex_Check(PyObject *obj) { @@ -2544,6 +2545,7 @@ PyObject_GetIter(PyObject *o) } #undef PyIter_Check + int PyIter_Check(PyObject *obj) { return obj->ob_type->tp_iternext != NULL && diff --git a/Objects/exceptions.c b/Objects/exceptions.c index bcb1fd5..7beb2a2 100644 --- a/Objects/exceptions.c +++ b/Objects/exceptions.c @@ -343,6 +343,7 @@ PyException_SetContext(PyObject *self, PyObject *context) } #undef PyExceptionClass_Name + char * PyExceptionClass_Name(PyObject *ob) { |