Close #19078: memoryview now supports reversed

Patch by Claudiu Popa
This commit is contained in:
Nick Coghlan 2013-10-02 22:06:54 +10:00
parent dff9e2535f
commit a0f169cde8
3 changed files with 14 additions and 1 deletions

View file

@ -2402,7 +2402,7 @@ static PyMappingMethods memory_as_mapping = {
/* As sequence */
static PySequenceMethods memory_as_sequence = {
0, /* sq_length */
(lenfunc)memory_length, /* sq_length */
0, /* sq_concat */
0, /* sq_repeat */
(ssizeargfunc)memory_item, /* sq_item */