JuliaPy / JuliaPy/PyPlot.jl

implement object[Integer...]

未关闭
#150 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Julia
星标
488
派生
90
PR 合并指标
30 天内没有已合并 PR

描述

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).

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。