summaryrefslogtreecommitdiffstats
path: root/Objects/intobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/intobject.c')
-rw-r--r--Objects/intobject.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Objects/intobject.c b/Objects/intobject.c
index e9c35d7..c1d750c 100644
--- a/Objects/intobject.c
+++ b/Objects/intobject.c
@@ -47,6 +47,12 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define LONG_BIT (CHAR_BIT * sizeof(long))
#endif
+long
+getmaxint()
+{
+ return LONG_MAX; /* To initialize sys.maxint */
+}
+
/* Standard Booleans */
intobject FalseObject = {