summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2001-10-19 12:02:29 (GMT)
committerMarc-André Lemburg <mal@egenix.com>2001-10-19 12:02:29 (GMT)
commitb5507ecd3cfce17bab26311298f527572611af0b (patch)
tree81382c5f5faa45adb2c93ad5b6b7f1b040cb954a /Objects/unicodeobject.c
parentf6fb171c9d6c0232937518dc00d3d31baeaf84c8 (diff)
downloadcpython-b5507ecd3cfce17bab26311298f527572611af0b.zip
cpython-b5507ecd3cfce17bab26311298f527572611af0b.tar.gz
cpython-b5507ecd3cfce17bab26311298f527572611af0b.tar.bz2
Additional test and documentation for the unicode() changes.
This patch should also be applied to the 2.2b1 trunk.
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index a29c75b..57ef62a 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -426,8 +426,9 @@ PyObject *PyUnicode_FromEncodedObject(register PyObject *obj,
#if 0
/* For b/w compatibility we also accept Unicode objects provided
- that no encodings is given and then redirect to PyObject_Unicode()
- which then applies the additional logic for Unicode subclasses.
+ that no encodings is given and then redirect to
+ PyObject_Unicode() which then applies the additional logic for
+ Unicode subclasses.
NOTE: This API should really only be used for object which
represent *encoded* Unicode !