summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-04-11 15:38:23 (GMT)
committerGuido van Rossum <guido@python.org>2000-04-11 15:38:23 (GMT)
commit3afba7644b481eb7ef6baf02fad42a185b0f008e (patch)
treef4600b1b06af4dba4433d5e05c77babd5aa9f6c8 /Objects/unicodeobject.c
parenta3277139f145eed85d688486f38f128782ddec8e (diff)
downloadcpython-3afba7644b481eb7ef6baf02fad42a185b0f008e.zip
cpython-3afba7644b481eb7ef6baf02fad42a185b0f008e.tar.gz
cpython-3afba7644b481eb7ef6baf02fad42a185b0f008e.tar.bz2
Marc-Andre Lemburg:
Added special case to unicode(): when being passed a Unicode object as first argument, return the object as-is. Raises an exception when given a Unicode object *and* an encoding name.
Diffstat (limited to 'Objects/unicodeobject.c')
0 files changed, 0 insertions, 0 deletions