8000 gh-94246: Prefer user argument names in AC doctrings by arhadthedev · Pull Request #94248 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-94246: Prefer user argument names in AC doctrings #94248

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Prefer user argument names in AC doctrings
  • Loading branch information
arhadthedev committed Jun 24, 2022
commit 5ad6d620a9a813df7d85fcb893324ab83a7fe3b4
2 changes: 1 addition & 1 deletion Tools/clinic/clinic.py
Original file line number Diff line number Diff line change
Expand Up @@ -4972,7 +4972,7 @@ def add_parameter(text):
if p.is_vararg():
p_add("*")

name = p.converter.signature_name or p.name
name = p.name or p.converter.signature_name
p_add(name)

if not p.is_vararg() and p.converter.is_optional():
Expand Down
0