[Python-checkins] cpython: gibibytes (Arfrever)

antoine.pitrou python-checkins at python.org
Sun Apr 7 23:47:16 CEST 2013


http://hg.python.org/cpython/rev/0437c19cdad0
changeset:   83191:0437c19cdad0
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Sun Apr 07 23:46:52 2013 +0200
summary:
  gibibytes (Arfrever)

files:
  Modules/_pickle.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/_pickle.c b/Modules/_pickle.c
--- a/Modules/_pickle.c
+++ b/Modules/_pickle.c
@@ -1881,7 +1881,7 @@
     if (size > 0xffffffffUL) {
         /* string too large */
         PyErr_SetString(PyExc_OverflowError,
-                        "cannot serialize a string larger than 4GB");
+                        "cannot serialize a string larger than 4GiB");
         return -1;
     }
 #endif

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list