[Python-checkins] cpython: forgotten in f578ca44193d

benjamin.peterson python-checkins at python.org
Tue Aug 9 23:17:25 CEST 2011


http://hg.python.org/cpython/rev/dd69f0e5381d
changeset:   71794:dd69f0e5381d
user:        Benjamin Peterson <benjamin at python.org>
date:        Tue Aug 09 16:14:45 2011 -0500
summary:
  forgotten in f578ca44193d

files:
  Include/Python-ast.h |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Include/Python-ast.h b/Include/Python-ast.h
--- a/Include/Python-ast.h
+++ b/Include/Python-ast.h
@@ -271,7 +271,7 @@
                 } Str;
                 
                 struct {
-                        string s;
+                        bytes s;
                 } Bytes;
                 
                 struct {
@@ -501,7 +501,7 @@
 #define Str(a0, a1, a2, a3) _Py_Str(a0, a1, a2, a3)
 expr_ty _Py_Str(string s, int lineno, int col_offset, PyArena *arena);
 #define Bytes(a0, a1, a2, a3) _Py_Bytes(a0, a1, a2, a3)
-expr_ty _Py_Bytes(string s, int lineno, int col_offset, PyArena *arena);
+expr_ty _Py_Bytes(bytes s, int lineno, int col_offset, PyArena *arena);
 #define Ellipsis(a0, a1, a2) _Py_Ellipsis(a0, a1, a2)
 expr_ty _Py_Ellipsis(int lineno, int col_offset, PyArena *arena);
 #define Attribute(a0, a1, a2, a3, a4, a5) _Py_Attribute(a0, a1, a2, a3, a4, a5)

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list