summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorDaniel Stutzbach <daniel@stutzbachenterprises.com>2010-09-03 18:31:07 (GMT)
committerDaniel Stutzbach <daniel@stutzbachenterprises.com>2010-09-03 18:31:07 (GMT)
commit98c07bde45edd6e784df266ff39cbd909934f354 (patch)
treeec889635173c98027e31f508f307f029729127fd /Doc
parent35f3a2cbeb5a2aabeb83d5e451e9560fcd288029 (diff)
downloadcpython-98c07bde45edd6e784df266ff39cbd909934f354.zip
cpython-98c07bde45edd6e784df266ff39cbd909934f354.tar.gz
cpython-98c07bde45edd6e784df266ff39cbd909934f354.tar.bz2
Doc fix: unicode() is now str()
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/unicode.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst
index 4533279..07e4d01 100644
--- a/Doc/c-api/unicode.rst
+++ b/Doc/c-api/unicode.rst
@@ -470,7 +470,7 @@ these codecs are directly usable via the following functions.
Many of the following APIs take two arguments encoding and errors. These
parameters encoding and errors have the same semantics as the ones of the
-built-in :func:`unicode` Unicode object constructor.
+built-in :func:`str` string object constructor.
Setting encoding to *NULL* causes the default encoding to be used
which is ASCII. The file system calls should use