diff Objects/typeobject.c @ 46075:84bb7701efba legacy-trunk

Make Py3k warnings consistent w.r.t. punctuation; also respect the EOL 80 limit and supply more alternatives in warning messages.
author Georg Brandl <georg@python.org>
date Tue, 25 Mar 2008 08:29:14 +0000
parents 50771a3fad2c
children 5341b30b1812
line wrap: on
line diff
--- a/Objects/typeobject.c	Tue Mar 25 07:56:27 2008 +0000
+++ b/Objects/typeobject.c	Tue Mar 25 08:29:14 2008 +0000
@@ -609,7 +609,8 @@
 	/* Py3K warning if comparison isn't == or !=  */
 	if (Py_Py3kWarningFlag && op != Py_EQ && op != Py_NE &&
 		PyErr_Warn(PyExc_DeprecationWarning,
-			"type inequality comparisons not supported in 3.x.") < 0) {
+			   "type inequality comparisons not supported "
+			   "in 3.x") < 0) {
 		return NULL;
 	}