[Python-checkins] cpython: Use C-style comments (required for the AIX build slave).

stefan.krah python-checkins at python.org
Sun Sep 23 15:59:31 CEST 2012


http://hg.python.org/cpython/rev/c843ec292a8b
changeset: 79102:c843ec292a8b
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

AltStyle によって変換されたページ (->オリジナル) /