[Python-checkins] cpython: Use C-style comments (required for the AIX build slave).
georg.brandl
python-checkins at python.org
Mon Sep 24 07:47:22 CEST 2012
http://hg.python.org/cpython/rev/d614cc4cd6c6
changeset: 79129:d614cc4cd6c6
user: Stefan Krah <skrah at bytereef.org>
date: Sun Sep 23 15:51:16 2012 +0200
summary:
Use C-style comments (required for the AIX build slave).
files:
Modules/unicodedata.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Modules/unicodedata.c b/Modules/unicodedata.c
--- a/Modules/unicodedata.c
+++ b/Modules/unicodedata.c
@@ -1236,8 +1236,8 @@
PyErr_Format(PyExc_KeyError, "undefined character name '%s'", name);
return NULL;
}
- // check if code is in the PUA range that we use for named sequences
- // and convert it
+ /* check if code is in the PUA range that we use for named sequences
+ and convert it */
if (IS_NAMED_SEQ(code)) {
index = code-named_sequences_start;
return PyUnicode_FromKindAndData(PyUnicode_2BYTE_KIND,
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list