8000 gh-115362: Add documentation to pystats output by mdboom · Pull Request #115365 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-115362: Add documentation to pystats output #115365

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 7 commits into from
Feb 16, 2024
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
8000 Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix tooltips
  • Loading branch information
mdboom committed Feb 12, 2024
commit 684abbfff8727ea217055e18cd7806264a4666f1
2 changes: 1 addition & 1 deletion Tools/scripts/summarize_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ def get_rare_events(self) -> list[tuple[str, int]]:
class Doc:
def __init__(self, text: str, doc: str):
self.text = text
self.doc = textwrap.dedent(doc).strip()
self.doc = textwrap.dedent(doc).strip().replace("\n", " ")

def markdown(self) -> str:
return f'{self.text} [ⓘ](## "{self.doc}")'
Expand Down
0