mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Use C-style comments (required for the AIX build slave).
This commit is contained in:
parent
7e6523fbd7
commit
91ceeceea7
1 changed files with 2 additions and 2 deletions
|
@ -1236,8 +1236,8 @@ unicodedata_lookup(PyObject* self, PyObject* args)
|
||||||
PyErr_Format(PyExc_KeyError, "undefined character name '%s'", name);
|
PyErr_Format(PyExc_KeyError, "undefined character name '%s'", name);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
// check if code is in the PUA range that we use for named sequences
|
/* check if code is in the PUA range that we use for named sequences
|
||||||
// and convert it
|
and convert it */
|
||||||
if (IS_NAMED_SEQ(code)) {
|
if (IS_NAMED_SEQ(code)) {
|
||||||
index = code-named_sequences_start;
|
index = code-named_sequences_start;
|
||||||
return PyUnicode_FromKindAndData(PyUnicode_2BYTE_KIND,
|
return PyUnicode_FromKindAndData(PyUnicode_2BYTE_KIND,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue