diff options
| author | Travis E. Oliphant <oliphant@enthought.com> | 2007-09-23 02:00:13 +0000 |
|---|---|---|
| committer | Travis E. Oliphant <oliphant@enthought.com> | 2007-09-23 02:00:13 +0000 |
| commit | 8ae62b60940ae0f33b1792703f3255e9c6a6a88a (patch) | |
| tree | a7046041eb8d6943b159827500114aa855f69678 /Objects/unicodeobject.c | |
| parent | 3f993c3b52f9799a010b889d20f1bc129eb89704 (diff) | |
| download | cpython-git-8ae62b60940ae0f33b1792703f3255e9c6a6a88a.tar.gz | |
Change PyBuffer to Py_buffer to be consistent with other non-object structures like Py_complex. Add some more functionality to the memoryview object.
Diffstat (limited to 'Objects/unicodeobject.c')
| -rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 2a6a087bd1..c40f0bec4d 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -8104,7 +8104,7 @@ static PyMappingMethods unicode_as_mapping = { static int -unicode_buffer_getbuffer(PyUnicodeObject *self, PyBuffer *view, int flags) +unicode_buffer_getbuffer(PyUnicodeObject *self, Py_buffer *view, int flags) { if (flags & PyBUF_CHARACTER) { |
