diff --git a/Doc/library/unicodedata.rst b/Doc/library/unicodedata.rst index 3787c36d868..ad70dd9dd16 100644 --- a/Doc/library/unicodedata.rst +++ b/Doc/library/unicodedata.rst @@ -69,7 +69,7 @@ following functions: .. function:: bidirectional(chr) - Returns the bidirectional category assigned to the character *chr* as + Returns the bidirectional class assigned to the character *chr* as string. If no such value is defined, an empty string is returned. diff --git a/Modules/unicodedata.c b/Modules/unicodedata.c index d339f580805..27fadb70197 100644 --- a/Modules/unicodedata.c +++ b/Modules/unicodedata.c @@ -273,7 +273,7 @@ unicodedata_category(PyObject *self, PyObject *args) PyDoc_STRVAR(unicodedata_bidirectional__doc__, "bidirectional(unichr)\n\ \n\ -Returns the bidirectional category assigned to the Unicode character\n\ +Returns the bidirectional class assigned to the Unicode character\n\ unichr as string. If no such value is defined, an empty string is\n\ returned.");