Issue #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4().
Original patch by Xiang Zhang.
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index 7cb19eb..2c496ea 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -749,7 +749,7 @@
 #endif
 
 /* Copy the string into a UCS4 buffer including the null character if copy_null
-   is set. Return NULL and raise an exception on error. Raise a ValueError if
+   is set. Return NULL and raise an exception on error. Raise a SystemError if
    the buffer is smaller than the string. Return buffer on success.
 
    buflen is the length of the buffer in (Py_UCS4) characters. */