summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stutzbach <daniel@stutzbachenterprises.com>2010-09-03 18:31:07 +0000
committerDaniel Stutzbach <daniel@stutzbachenterprises.com>2010-09-03 18:31:07 +0000
commit98c07bde45edd6e784df266ff39cbd909934f354 (patch)
treeec889635173c98027e31f508f307f029729127fd
parent35f3a2cbeb5a2aabeb83d5e451e9560fcd288029 (diff)
downloadcpython-git-98c07bde45edd6e784df266ff39cbd909934f354.tar.gz
Doc fix: unicode() is now str()
-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 4533279699..07e4d0140e 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