Spec: PEP leftovers in the spec for literals
未关闭
适合新手
还没有人认领这个 Issue。
topic: typing spec
- 主要语言
- Python
- 星标
- 1.8k
- 派生
- 302
- 平均合并
- 23 小时
- 30 天内合并 PR
- 8
描述
There are some sections in the spec for literals that made sense as a rationale or look into the future in the PEP, but should be removed in the spec for conciseness, clarity, and consistency:
- An (incomplete) list of illegal parameters for
Literal. Since this immediately succeeds a positive, exclusive list of what parameters are allowed, this is just fluff and I believe the whole section should just be removed. - The next section is titled "Parameters at runtime" and details implementation details for
Literal. These seem unnecessary for the typing spec and are in danger of getting desynched with the actual implementation.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
打开字面量规范,找到 issue 中提到的非法参数和运行时参数相关章节。删除理由和实现细节章节,同时保持规范性描述简洁,然后检查渲染后的规范,以确认周围内容仍然清晰。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- documentation
- Issue 类型
- 文档
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 75/100