Mercurial > cpython-lru_cache-weakref
diff Python/peephole.c @ 45515:8b52ff41e0e2
Merged revisions 61038,61042-61045,61047,61050,61053,61055-61056,61058-61061 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r61058 | neal.norwitz | 2008-02-25 02:45:37 +0100 (Mon, 25 Feb 2008) | 1 line
Fix indentation
........
r61059 | brett.cannon | 2008-02-25 06:33:07 +0100 (Mon, 25 Feb 2008) | 2 lines
Add minor markup for a string.
........
r61060 | brett.cannon | 2008-02-25 06:33:33 +0100 (Mon, 25 Feb 2008) | 2 lines
Fix a minor typo in a docstring.
........
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Mon, 25 Feb 2008 13:19:43 +0000 |
| parents | b231bda653a4 |
| children | 6bea2f1351b1 |
line wrap: on
line diff
--- a/Python/peephole.c Mon Feb 25 12:39:23 2008 +0000 +++ b/Python/peephole.c Mon Feb 25 13:19:43 2008 +0000 @@ -342,7 +342,7 @@ if (codestr == NULL) goto exitUnchanged; codestr = (unsigned char *)memcpy(codestr, - PyString_AS_STRING(code), codelen); + PyString_AS_STRING(code), codelen); /* Verify that RETURN_VALUE terminates the codestring. This allows the various transformation patterns to look ahead several
