[Python-checkins] Remove unused ReaderObject_Check macro (#20614)

Dong-hee Na webhook-mailer at python.org
Wed Jun 3 11:43:54 EDT 2020


https://github.com/python/cpython/commit/586be6f3ff68ab4034e555f1434a4427e129ad0b
commit: 586be6f3ff68ab4034e555f1434a4427e129ad0b
branch: master
author: Dong-hee Na <donghee.na92 at gmail.com>
committer: GitHub <noreply at github.com>
date: 2020-06-04T00:43:46+09:00
summary:

Remove unused ReaderObject_Check macro (#20614)

files:
M Modules/_csv.c

diff --git a/Modules/_csv.c b/Modules/_csv.c
index 3a52632ccfd45..f33733aaf850d 100644
--- a/Modules/_csv.c
+++ b/Modules/_csv.c
@@ -112,8 +112,6 @@ typedef struct {
 
 static PyTypeObject Reader_Type;
 
-#define ReaderObject_Check(v)   Py_IS_TYPE(v, &Reader_Type)
-
 typedef struct {
     PyObject_HEAD
 



More information about the Python-checkins mailing list