@@ -1861,7 +1861,7 @@ char utf8_code_length[256] = {
18611861 illegal prefix. See RFC 3629 for details */
18621862 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , /* 00-0F */
18631863 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 ,
1864- 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 ,
1864+ 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 ,
18651865 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 ,
18661866 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 ,
18671867 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 ,
@@ -2217,7 +2217,7 @@ PyUnicode_DecodeUTF32Stateful(const char *s,
22172217#endif
22182218 PyObject * errorHandler = NULL ;
22192219 PyObject * exc = NULL ;
2220-
2220+
22212221 q = (unsigned char * )s ;
22222222 e = q + size ;
22232223
@@ -8759,7 +8759,8 @@ unicode_subtype_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
87598759}
87608760
87618761PyDoc_STRVAR (unicode_doc ,
8762- "unicode(string [, encoding[, errors]]) -> object\n\
8762+ "unicode(object='') -> unicode object\n\
8763+ unicode(string[, encoding[, errors]]) -> unicode object\n\
87638764\n\
87648765Create a new Unicode object from the given encoded string.\n\
87658766encoding defaults to the current default string encoding.\n\
0 commit comments