diff options
author | Guido van Rossum <guido@python.org> | 1993-12-24 10:22:45 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-12-24 10:22:45 (GMT) |
commit | 2e1d433e4357a5a980a96f15b3802138a064fb64 (patch) | |
tree | b76e57ff18a04aa0e6b17e37287e5efc671733bd /Objects/intobject.c | |
parent | 92fa23fd6d9c6819fe699de3d007c0848fccda0f (diff) | |
download | cpython-2e1d433e4357a5a980a96f15b3802138a064fb64.zip cpython-2e1d433e4357a5a980a96f15b3802138a064fb64.tar.gz cpython-2e1d433e4357a5a980a96f15b3802138a064fb64.tar.bz2 |
Added getmaxint() so sys can initialize sys.maxint.
Added Makefile.in.
Diffstat (limited to 'Objects/intobject.c')
-rw-r--r-- | Objects/intobject.c | 6 |
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 = { |