summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-12-14 20:13:39 +0200
committerEzio Melotti <ezio.melotti@gmail.com>2012-12-14 20:13:39 +0200
commit11def426c0d7b6f81e324b295ba731386adb862a (patch)
treeadb69c212e38e67840a04eb30ef763baaec93d95
parenta0b315f5f77ce2e68df4ca8d6174a266592b2c49 (diff)
parente3d7e54b11586e3f13ed1589116d2175eb94b3b2 (diff)
downloadcpython-git-11def426c0d7b6f81e324b295ba731386adb862a.tar.gz
#16681: merge with 3.2.
-rw-r--r--Doc/library/unicodedata.rst2
-rw-r--r--Modules/unicodedata.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/unicodedata.rst b/Doc/library/unicodedata.rst
index 3787c36d86..ad70dd9dd1 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 d339f58080..27fadb7019 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.");