summaryrefslogtreecommitdiff
path: root/Python/peephole.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-02-25 13:19:43 +0000
committerChristian Heimes <christian@cheimes.de>2008-02-25 13:19:43 +0000
commit137c433d59d1635f18169a1b9386c4b815de7e87 (patch)
tree0081d1b682c84f32f38b54a18665f261bbdc236f /Python/peephole.c
parent1fb52e14d269f58821707593a4d0e1920cff72bb (diff)
downloadcpython-137c433d59d1635f18169a1b9386c4b815de7e87.tar.gz
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. ........
Diffstat (limited to 'Python/peephole.c')
-rw-r--r--Python/peephole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/peephole.c b/Python/peephole.c
index 9f1e6420e6..a37abf9339 100644
--- a/Python/peephole.c
+++ b/Python/peephole.c
@@ -342,7 +342,7 @@ PyCode_Optimize(PyObject *code, PyObject* consts, PyObject *names,
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