getitem(x, y)
x_y
You may access elements of python sequences using getitem or the shortcut _. This is equivalent to square brackets ([]) in Python. For example, this works for lists.
|
|
|
It also works for dictionaries.
|
|
|
The object getitem is a method function.
The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/Python/doc.m2:162:0.