commit | 2e1d433e4357a5a980a96f15b3802138a064fb64 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Dec 24 10:22:45 1993 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Dec 24 10:22:45 1993 +0000 |
tree | b76e57ff18a04aa0e6b17e37287e5efc671733bd | |
parent | 92fa23fd6d9c6819fe699de3d007c0848fccda0f [diff] [blame] |
Added getmaxint() so sys can initialize sys.maxint. Added Makefile.in.
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 @@ #define LONG_BIT (CHAR_BIT * sizeof(long)) #endif +long +getmaxint() +{ + return LONG_MAX; /* To initialize sys.maxint */ +} + /* Standard Booleans */ intobject FalseObject = {