Skip to content

Commit 447c814

Browse files
committed
Adjusted __doc__ of unicode object to match CPython's variant.
1 parent fd467ed commit 447c814

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/org/python/core/BuiltinDocs.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,8 @@ public class BuiltinDocs {
252252
"x.__delattr__('name') <==> del x.name";
253253

254254
public final static String unicode_doc =
255-
"unicode(string [, encoding[, errors]]) -> object\n" +
255+
"unicode(object='') -> unicode object\n" +
256+
"unicode(string[, encoding[, errors]]) -> unicode object\n" +
256257
"\n" +
257258
"Create a new Unicode object from the given encoded string.\n" +
258259
"encoding defaults to the current default string encoding.\n" +

0 commit comments

Comments
 (0)