summaryrefslogtreecommitdiffstats
path: root/fixes/int-to-long.cocci
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2010-03-05 19:06:29 -0500
committerDavid Malcolm <dmalcolm@redhat.com>2010-03-05 19:06:29 -0500
commite4c495a8b6d9727de99b35bddf70f2c942e7f8b9 (patch)
tree0b41afa08d135b80f55195eb9cefb4a8bd643fa7 /fixes/int-to-long.cocci
parent234a10d5bc133f9963db58fd4c08715fe43c2b94 (diff)
download2to3c-master.tar.gz
2to3c-master.tar.xz
2to3c-master.zip
Rename "fixes" -> "lib2to3c"; start writing a setup.pyHEADmaster
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