]> granicus.if.org Git - python/commitdiff
Make the _H #define's match the header file names. Fix comments to
authorGregory P. Smith <greg@mad-scientist.com>
Sun, 1 Jun 2008 22:57:47 +0000 (22:57 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Sun, 1 Jun 2008 22:57:47 +0000 (22:57 +0000)
mention the correct type names.

Include/bytearrayobject.h
Include/bytesobject.h

index 2c0b7344c79b5213187f7c4da5cb807ebd90ab48..265b4bbdd03a6e5177ad32534166dc3e48b3a564 100644 (file)
@@ -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 @@ PyAPI_FUNC(int) PyByteArray_Resize(PyObject *, Py_ssize_t);
 #ifdef __cplusplus
 }
 #endif
-#endif /* !Py_BYTESOBJECT_H */
+#endif /* !Py_BYTEARRAYOBJECT_H */
index cb31da8603db072354401a988929fde5fef23846..acb943b5f92661777ad21d05cd44de1a689f64af 100644 (file)
@@ -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 @@ PyAPI_FUNC(PyObject *) _PyBytes_FormatAdvanced(PyObject *obj,
 #ifdef __cplusplus
 }
 #endif
-#endif /* !Py_STRINGOBJECT_H */
+#endif /* !Py_BYTESOBJECT_H */