python / python/cpython

Update function signatures to use `*` and `/` as needed

未关闭
#131,885 9 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

docs
主要语言
Python
星标
77.2k
派生
35.9k
PR 合并指标
PR 指标待抓取

描述

Documentation

[!CAUTION]
For new contributors, please do not consider this issue as an "easy" one. While the changes may seem mechanical, they are not necessarily trivial as this requires to know what really happens (both at a Python and a C level).

This is tracks cases where changes need to be made to enact the Editorial Board's decision for function signature markup.

  • builtins:
    • min()
    • max()
    • range()
    • map()
  • methods on builtins:
    • dict.get(), dict.setdefault()

See also:

Linked PRs
  • gh-131868
  • gh-131886
  • gh-128208
  • gh-131893
  • gh-131894
  • gh-131990
  • gh-131992
  • gh-132029
  • gh-136085
  • gh-136120
  • gh-136121
  • gh-137656
  • gh-137657
  • gh-137902
  • gh-137904
  • gh-139978
  • gh-140270
  • gh-144856
  • gh-156179
  • gh-156267
  • gh-156268
  • gh-156269

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从剩余的未勾选 map() 项开始,查看函数签名指南以及 Editorial Board 的相关讨论。检查相关的内置文档和现有的关联 PRs;当适用的签名按照约定的标记一致地使用 */ 时,工作即完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
c, python
领域
documentation
Issue 类型
文档
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

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