Incorrect Comment About Accessing Dictionary Elements
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 72/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 冷清
- 技术栈
- python
调研方向
在 repository 中搜索确切的注释 "# You may access set elements by keys.",并检查其周围的 dictionary 示例。按要求将 "set" 替换为 "dictionary",然后验证该注释是否准确描述了代码,以及是否不再存在其他出现位置。
由索引模型根据 Issue 内容生成。
描述
The comment "# You may access set elements by keys." is misleading. The code is about dictionaries, not sets. In Python, set elements cannot be accessed by keys—only dictionary elements can. The comment should be corrected to "# You may access dictionary elements by keys." to accurately reflect the code's behavior.
- 主要语言
- Python
- 星标
- 18.3k
- 派生
- 3k
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
trekhleb/learn-python 的其他 Issue
-
Typo in Variable Name: "weapon.strip()" Should Be "fruit.strip()" in List Comprehensions Example 未关闭
难度 1/5 1 小时以内 新手友好度 82/100
trekhleb/learn-python#105 · 1 条评论 ·
-
Learning Python 未关闭
难度 5/5 一周以上 新手友好度 10/100
trekhleb/learn-python#108 ·
-
难度 3/5 1-2 天 新手友好度 30/100
trekhleb/learn-python#107 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 45/100
trekhleb/learn-python#106 ·
-
Hack 未关闭
难度 5/5 一周以上 新手友好度 1/100
trekhleb/learn-python#102 · 1 条评论 ·
查看 trekhleb/learn-python 的全部 Issue
相似的 Issue
-
area: harness bug status: needs-triage
难度 2/5 1-3 小时 新手友好度 75/100
Human-Agent-Society/reef#625 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 1/5 1 小时以内 新手友好度 80/100
learningequality/kolibri#15351 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
Name consistency 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
eellak/triplestore#65 · 1 条评论 ·