mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Merged revisions 79780 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r79780 | philip.jenvey | 2010-04-04 20:05:24 -0700 (Sun, 04 Apr 2010) | 9 lines
Merged revisions 79779 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79779 | philip.jenvey | 2010-04-04 19:51:51 -0700 (Sun, 04 Apr 2010) | 2 lines
fix escape_encode to return the correct consumed size
........
................
This commit is contained in:
parent
a57aae7d47
commit
ddf0d0383c
3 changed files with 5 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ escape_encode(PyObject *self,
|
|||
}
|
||||
}
|
||||
|
||||
return codec_tuple(v, PyBytes_Size(v));
|
||||
return codec_tuple(v, size);
|
||||
}
|
||||
|
||||
/* --- Decoder ------------------------------------------------------------ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue