[Python-checkins] r71696 - python/trunk/Objects/abstract.c

georg.brandl python-checkins at python.org
Sat Apr 18 10:26:21 CEST 2009


Author: georg.brandl
Date: Sat Apr 18 10:26:21 2009
New Revision: 71696

Log:
"not subscriptable" should be a bit more understandable than "unsubscriptable".

Modified:
   python/trunk/Objects/abstract.c

Modified: python/trunk/Objects/abstract.c
==============================================================================
--- python/trunk/Objects/abstract.c	(original)
+++ python/trunk/Objects/abstract.c	Sat Apr 18 10:26:21 2009
@@ -153,7 +153,7 @@
 					  "be integer, not '%.200s'", key);
 	}
 
-	return type_error("'%.200s' object is unsubscriptable", o);
+	return type_error("'%.200s' object is not subscriptable", o);
 }
 
 int


More information about the Python-checkins mailing list