8000 gh-104683: Argument Clinic: Params now render their own docstrings by erlend-aasland · Pull Request #107790 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-104683: Argument Clinic: Params now render their own docstrings #107790

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

Merged
Merged
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
Prev Previous commit
Remove obsolete docstring check
  • Loading branch information
erlend-aasland committed Aug 9, 2023
commit fbe0b2cd72daddb602aee2e92d23aeddc102135a
2 changes: 0 additions & 2 deletions Tools/clinic/clinic.py
Original file line number Diff line number Diff line change
Expand Up @@ -2776,8 +2776,6 @@ def get_displayname(self, i: int) -> str:
return f'"argument {i}"'

def render_docstring(self) -> str:
if not self.docstring:
return ""
add, out = text_accumulator()
add(f" {self.name}\n")
for line in self.docstring.split("\n"):
Expand Down
0