Merge pull request #4861 from brakhane/negative-indexing

Add support for Python-like negative indexing
This commit is contained in:
Juan Linietsky 2016-06-07 10:17:00 -03:00
commit 4b893ffeeb
2 changed files with 72 additions and 249 deletions

View file

@ -4349,7 +4349,7 @@
Generic array datatype.
</brief_description>
<description>
Generic array, contains several elements of any type, accessible by numerical index starting at 0. Arrays are always passed by reference.
Generic array, contains several elements of any type, accessible by numerical index starting at 0. Negative indices can be used to count from the right, like in Python. Arrays are always passed by reference.
</description>
<methods>
<method name="append">