diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2008-06-01 22:57:47 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2008-06-01 22:57:47 (GMT) |
commit | 1bd52d745b16c1a41dd63869264315a4d138f62f (patch) | |
tree | 00517b31dd9878d809eecdb053ec889c32639be9 /Include | |
parent | ac19d85e04855642a856473b91f3d621e844ad52 (diff) | |
download | cpython-1bd52d745b16c1a41dd63869264315a4d138f62f.zip cpython-1bd52d745b16c1a41dd63869264315a4d138f62f.tar.gz cpython-1bd52d745b16c1a41dd63869264315a4d138f62f.tar.bz2 |
Make the _H #define's match the header file names. Fix comments to
mention the correct type names.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/bytearrayobject.h | 8 | ||||
-rw-r--r-- | Include/bytesobject.h | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/Include/bytearrayobject.h b/Include/bytearrayobject.h index 2c0b734..265b4bb 100644 --- a/Include/bytearrayobject.h +++ b/Include/bytearrayobject.h @@ -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 */ diff --git a/Include/bytesobject.h b/Include/bytesobject.h index cb31da8..acb943b 100644 --- a/Include/bytesobject.h +++ b/Include/bytesobject.h @@ -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 */ |