From 1e5c9b70b4322c4e2d19ad61d754d5c8eeb61cc5 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Fri, 14 Dec 2012 20:06:43 +0200 Subject: [PATCH 1/2] #16681: use "bidirectional class" instead of "bidirectional category". --- Doc/library/unicodedata.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/unicodedata.rst b/Doc/library/unicodedata.rst index 3b1bbe076e5..33b5ce0eaa2 100644 --- a/Doc/library/unicodedata.rst +++ b/Doc/library/unicodedata.rst @@ -66,7 +66,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. From e3d7e54b11586e3f13ed1589116d2175eb94b3b2 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Fri, 14 Dec 2012 20:12:25 +0200 Subject: [PATCH 2/2] #16681: use "bidirectional class" instead of "bidirectional category" in the docstring too. --- Modules/unicodedata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/unicodedata.c b/Modules/unicodedata.c index 53e48dfa36e..4db5087f113 100644 --- a/Modules/unicodedata.c +++ b/Modules/unicodedata.c @@ -276,7 +276,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.");