summaryrefslogtreecommitdiffstats
path: root/fixes/int-to-long.cocci
diff options
context:
space:
mode:
Diffstat (limited to 'fixes/int-to-long.cocci')
-rw-r--r--fixes/int-to-long.cocci82
1 files changed, 0 insertions, 82 deletions
diff --git a/fixes/int-to-long.cocci b/fixes/int-to-long.cocci
deleted file mode 100644
index 110d97d..0000000
--- a/fixes/int-to-long.cocci
+++ /dev/null
@@ -1,82 +0,0 @@
-@@
-expression E1;
-@@
--PyInt_AsLong(E1)
-+PyLong_AsLong(E1)
-
-@@
-expression E1;
-@@
--PyInt_Check(E1)
-+PyLong_Check(E1)
-
-@@
-expression E1, E2, E3;
-@@
--PyInt_FromString(E1, E2, E3)
-+PyLong_FromString(E1, E2, E3)
-
-@@
-expression E1, E2, E3;
-@@
--PyInt_FromUnicode(E1, E2, E3)
-+PyLong_FromUnicode(E1, E2, E3)
-
-@@
-expression E1;
-@@
--PyInt_FromLong(E1)
-+PyLong_FromLong(E1)
-
-@@
-expression E1;
-@@
--PyInt_FromSize_t(E1)
-+PyLong_FromSize_t(E1)
-
-@@
-expression E1;
-@@
--PyInt_FromSsize_t(E1)
-+PyLong_FromSsize_t(E1)
-
-@@
-expression E1;
-@@
--PyInt_AsLong(E1)
-+PyLong_AsLong(E1)
-
-@@
-expression E1;
-@@
--PyInt_AsSsize_t(E1)
-+PyLong_AsSsize_t(E1)
-
-@@
-expression E1;
-@@
--PyInt_AsUnsignedLongMask(E1)
-+PyLong_AsUnsignedLongMask(E1)
-
-@@
-expression E1;
-@@
--PyInt_AsUnsignedLongLongMask(E1)
-+PyLong_AsUnsignedLongLongMask(E1)
-
-@@
-expression E1;
-@@
--PyInt_AS_LONG(E1)
-+PyLong_AS_LONG(E1)
-
-@@
-expression E1;
-@@
--PyNumber_Int(E1)
-+PyNumber_Long(E1)
-
-@@
-@@
--PyInt_Type
-+PyLong_Type \ No newline at end of file