PyUnicodeUCS4_FromOrdinal

Create a Unicode Object from the given Unicode code point ordinal.

The ordinal must be in range(0x10000) on narrow Python builds (UCS2), and range(0x110000) on wide builds (UCS4). A ValueError is raised in case it is not.

  1. PyObject* PyUnicodeUCS4_FromOrdinal(int ordinal)
    version(!Python_Unicode_UCS2)
    PyUnicodeUCS4_FromOrdinal
    ()
  2. alias PyUnicode_FromOrdinal = PyUnicodeUCS4_FromOrdinal

Meta