Add ..versionadded for sys.int_info, update py3k version of

whatsnew/2.7.rst to keep it in sync with the trunk version, and
replace SHIFT with PyLong_SHIFT in #error message
This commit is contained in:
Mark Dickinson 2009-03-20 16:00:49 +00:00
parent 0ef2cf6126
commit d72c7b671e
3 changed files with 27 additions and 1 deletions

View file

@ -67,7 +67,7 @@ typedef long stwodigits; /* signed variant of twodigits */
#define PyLong_MASK ((digit)(PyLong_BASE - 1))
#if PyLong_SHIFT % 5 != 0
#error "longobject.c requires that SHIFT be divisible by 5"
#error "longobject.c requires that PyLong_SHIFT be divisible by 5"
#endif
/* Long integer representation.