[pypy-commit] pypy py3k: adapt the docstring to the new applevel name

antocuni noreply at buildbot.pypy.org
Fri Mar 16 12:46:34 CET 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r53714:b4309f6f0190
Date: 2012-03-16 10:46 +0100
http://bitbucket.org/pypy/pypy/changeset/b4309f6f0190/

Log:	adapt the docstring to the new applevel name

diff --git a/pypy/objspace/std/unicodetype.py b/pypy/objspace/std/unicodetype.py
--- a/pypy/objspace/std/unicodetype.py
+++ b/pypy/objspace/std/unicodetype.py
@@ -423,7 +423,7 @@
     __new__ = gateway.interp2app(descr_new_),
     __doc__ = '''str(string [, encoding[, errors]]) -> object
 
-Create a new Unicode object from the given encoded string.
+Create a new string object from the given encoded string.
 encoding defaults to the current default string encoding.
 errors can be 'strict', 'replace' or 'ignore' and defaults to 'strict'.''',
     maketrans = gateway.interp2app(descr_maketrans, as_classmethod=True),


More information about the pypy-commit mailing list