[Python-checkins] r63879 - in python/trunk/Include: bytearrayobject.h bytesobject.h

gregory.p.smith python-checkins at python.org
Mon Jun 2 00:57:48 CEST 2008


Author: gregory.p.smith
Date: Mon Jun  2 00:57:47 2008
New Revision: 63879

Log:
Make the _H #define's match the header file names.  Fix comments to
mention the correct type names.


Modified:
   python/trunk/Include/bytearrayobject.h
   python/trunk/Include/bytesobject.h

Modified: python/trunk/Include/bytearrayobject.h
==============================================================================
--- python/trunk/Include/bytearrayobject.h	(original)
+++ python/trunk/Include/bytearrayobject.h	Mon Jun  2 00:57:47 2008
@@ -1,7 +1,7 @@
-/* Bytes object interface */
+/* ByteArray object interface */
 
-#ifndef Py_BYTESOBJECT_H
-#define Py_BYTESOBJECT_H
+#ifndef Py_BYTEARRAYOBJECT_H
+#define Py_BYTEARRAYOBJECT_H
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -50,4 +50,4 @@
 #ifdef __cplusplus
 }
 #endif
-#endif /* !Py_BYTESOBJECT_H */
+#endif /* !Py_BYTEARRAYOBJECT_H */

Modified: python/trunk/Include/bytesobject.h
==============================================================================
--- python/trunk/Include/bytesobject.h	(original)
+++ python/trunk/Include/bytesobject.h	Mon Jun  2 00:57:47 2008
@@ -1,8 +1,8 @@
 
-/* String object interface */
+/* Bytes (String) object interface */
 
-#ifndef Py_STRINGOBJECT_H
-#define Py_STRINGOBJECT_H
+#ifndef Py_BYTESOBJECT_H
+#define Py_BYTESOBJECT_H
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -197,4 +197,4 @@
 #ifdef __cplusplus
 }
 #endif
-#endif /* !Py_STRINGOBJECT_H */
+#endif /* !Py_BYTESOBJECT_H */


More information about the Python-checkins mailing list