changeset 300:6a28a5a62206

Comment to clarify purpose of test * @pyobject/pyobject.m: Comment for test.
author Colin Macdonald <cbm@m.fsf.org>
date Wed, 03 Aug 2016 20:34:58 -0700
parents 714d1bf1ef78
children 2047beb75f5e
files @pyobject/pyobject.m
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/@pyobject/pyobject.m	Wed Aug 03 20:26:57 2016 -0700
+++ b/@pyobject/pyobject.m	Wed Aug 03 20:34:58 2016 -0700
@@ -272,6 +272,7 @@
 %! assert (L{end-1}, 20)
 
 %!test
+%! % ensure "end" works for iterables that are not lists
 %! myrange = pyeval ( ...
 %!   "range if __import__('sys').hexversion >= 0x03000000 else xrange");
 %! R = pycall (myrange, int32 (5), int32 (10), int32 (2));