]> granicus.if.org Git - python/commitdiff
Fixed error in comment for new PY_SSIZE_T_MIN.
authorTim Peters <tim.peters@gmail.com>
Wed, 5 Apr 2006 18:43:30 +0000 (18:43 +0000)
committerTim Peters <tim.peters@gmail.com>
Wed, 5 Apr 2006 18:43:30 +0000 (18:43 +0000)
Include/pyport.h

index e0d9b7db5840b73c6a38f0dc3fe96b3a01cc34ab..2bce415c5c01fc6ac49cd4c3134540b4c56b2d71 100644 (file)
@@ -99,7 +99,7 @@ typedef Py_intptr_t   Py_ssize_t;
 
 /* Largest positive value of type Py_ssize_t. */
 #define PY_SSIZE_T_MAX ((Py_ssize_t)(((size_t)-1)>>1))
-/* Smallest positive value of type Py_ssize_t. */
+/* Smallest negative value of type Py_ssize_t. */
 #define PY_SSIZE_T_MIN (-PY_SSIZE_T_MAX-1)
 
 /* PY_FORMAT_SIZE_T is a platform-specific modifier for use in a printf