summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-08-07 22:02:18 (GMT)
committerGuido van Rossum <guido@python.org>2007-08-07 22:02:18 (GMT)
commit22201221cc64029e729236ae7ac9ef1772e2cb01 (patch)
treefddc5f881935264e9aea56ff90227c0a6cd76ec6 /Objects
parentc77e24b233c0b1b06de077a252b78cfdc5d7df18 (diff)
downloadcpython-22201221cc64029e729236ae7ac9ef1772e2cb01.zip
cpython-22201221cc64029e729236ae7ac9ef1772e2cb01.tar.gz
cpython-22201221cc64029e729236ae7ac9ef1772e2cb01.tar.bz2
Oops. I killed a bit too much and not enough when I deleted intobject.c.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/longobject.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index 3659225..79d734e 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -7,6 +7,12 @@
#include <ctype.h>
+long
+PyInt_GetMax(void)
+{
+ return LONG_MAX; /* To initialize sys.maxint */
+}
+
#ifndef NSMALLPOSINTS
#define NSMALLPOSINTS 257
#endif