summaryrefslogtreecommitdiff
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-12-02 14:31:20 +0000
committerChristian Heimes <christian@cheimes.de>2007-12-02 14:31:20 +0000
commit217cfd1c86c59ed8a55ce6d6b88bbe37309e7ba2 (patch)
tree4737b4a91359c94953623ab9ee297e9a90f319e4 /Python/pystate.c
parent1a3284ed69d545e4ef59869998cb8c29233a45fa (diff)
downloadcpython-git-217cfd1c86c59ed8a55ce6d6b88bbe37309e7ba2.tar.gz
Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h
Diffstat (limited to 'Python/pystate.c')
-rw-r--r--Python/pystate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pystate.c b/Python/pystate.c
index 1914ba8e14..030138d84e 100644
--- a/Python/pystate.c
+++ b/Python/pystate.c
@@ -445,7 +445,7 @@ _PyThread_CurrentFrames(void)
struct _frame *frame = t->frame;
if (frame == NULL)
continue;
- id = PyInt_FromLong(t->thread_id);
+ id = PyLong_FromLong(t->thread_id);
if (id == NULL)
goto Fail;
stat = PyDict_SetItem(result, id, (PyObject *)frame);