diff Objects/stringobject.c @ 79590:3b484f53f91b 2.7

Issue #14783: Backport changes from 3.2.
author Chris Jerdonek <chris.jerdonek@gmail.com>
date Sun, 07 Oct 2012 20:37:54 -0700
parents 2801bf875a24
children 21fb1767e185
line wrap: on
line diff
--- a/Objects/stringobject.c	Sun Oct 07 19:17:15 2012 +0300
+++ b/Objects/stringobject.c	Sun Oct 07 20:37:54 2012 -0700
@@ -3799,7 +3799,7 @@
 };
 
 PyDoc_STRVAR(string_doc,
-"str(object) -> string\n\
+"str(object='') -> string\n\
 \n\
 Return a nice string representation of the object.\n\
 If the argument is a string, the return value is the same object.");