From 98c07bde45edd6e784df266ff39cbd909934f354 Mon Sep 17 00:00:00 2001 From: Daniel Stutzbach Date: Fri, 3 Sep 2010 18:31:07 +0000 Subject: [PATCH] Doc fix: unicode() is now str() --- Doc/c-api/unicode.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst index 45332796994..07e4d0140e5 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