Author serhiy.storchaka
Recipients pitrou, r.david.murray, serhiy.storchaka, skrah
Date 2015-03-19.06:56:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426748210.32.0.256202620607.issue23632@psf.upfronthosting.co.za>
In-reply-to
Content
It would be good to add examples with multidimensional memoryviews. For example:

>>> a = array.array('l', [-11111111, 22222222, -33333333, 44444444])
>>> m = memoryview(a).cast('B').cast('l', [2, 2])
>>> m[0, 0]
-11111111
>>> m[1, 0]
-33333333
>>> m[-1, -1]
44444444
History
Date User Action Args
2015-03-19 06:56:50serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, r.david.murray, skrah
2015-03-19 06:56:50serhiy.storchakasetmessageid: <1426748210.32.0.256202620607.issue23632@psf.upfronthosting.co.za>
2015-03-19 06:56:50serhiy.storchakalinkissue23632 messages
2015-03-19 06:56:50serhiy.storchakacreate