enthought / enthought/Numpy-Tutorial-SciPyConf-2016

python 3 compatibility

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

描述

Hi, I found a bit of code that would not run in python 3. In exercises\structured_array\structured_array_solution.py line 63, Python 3 returns the zip as a zip object, rather than a list.
I got it to work with: fields = list(zip(log_names, ['f8']*len(log_names)))

贡献指南

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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