JuliaPy / JuliaPy/PyPlot.jl

implement object[Integer...]

Open
#150 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Julia
Stars
488
Forks
90
PR merge metrics
No merged PRs in 30d

Description

Maybe make `object[i,j,...]` in Julia sugar for `get(object, (i,j,...))`, equivalent to `object[i,j,...]` in Python, for the common case of integer indexing (e.g. #149).

I would prefer to just make `object[...]` equivalent to `object[...]` in Python regardless of the index type, but then I wouldn't have a good syntax for Python's `object.attribute` (until some future Nirvana when dot overloading arrives in Julia).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.