summaryrefslogtreecommitdiff
path: root/Objects/cellobject.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-03-25 08:29:14 +0000
committerGeorg Brandl <georg@python.org>2008-03-25 08:29:14 +0000
commitd5b635f1969fdd609f0aff5669c9ec30e61be62e (patch)
tree1c854f8108e2b22d8c5ba4d529b6d99cd9f5f244 /Objects/cellobject.c
parent80055f6295dd48274ae68d13806c7ee3c5b5882f (diff)
downloadcpython-git-d5b635f1969fdd609f0aff5669c9ec30e61be62e.tar.gz
Make Py3k warnings consistent w.r.t. punctuation; also respect the
EOL 80 limit and supply more alternatives in warning messages.
Diffstat (limited to 'Objects/cellobject.c')
-rw-r--r--Objects/cellobject.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Objects/cellobject.c b/Objects/cellobject.c
index 2286aafc2b..b86739edb3 100644
--- a/Objects/cellobject.c
+++ b/Objects/cellobject.c
@@ -55,8 +55,9 @@ static int
cell_compare(PyCellObject *a, PyCellObject *b)
{
/* Py3K warning for comparisons */
- if (Py_Py3kWarningFlag && PyErr_Warn(PyExc_DeprecationWarning,
- "cell comparisons not supported in 3.x.") < 0) {
+ if (Py_Py3kWarningFlag &&
+ PyErr_Warn(PyExc_DeprecationWarning,
+ "cell comparisons not supported in 3.x") < 0) {
return -2;
}