Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-133046: Reformat theast module docstring#133050

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
gpshead merged 4 commits intopython:mainfromhunterhogan:ast_docstring_reformat
Apr 27, 2025

Conversation

hunterhogan
Copy link
Contributor

@hunterhoganhunterhogan commentedApr 27, 2025
edited by bedevere-appbot
Loading

See alsomicrosoft/vscode#247525 "Python module docstring renders improperly".

Changes

  1. Removed header with~~~.
  2. Dedented remaining text.
  3. Reformatted the dedented text from an effective 76-character-width to an 80-character width.

No other changes.

For completeness, the changes would be rendered as
Screenshot 2025-04-27 114014

@bedevere-app

This comment was marked as resolved.

@picnixzpicnixz requested a review fromAA-TurnerApril 27, 2025 18:36
@picnixzpicnixz changed the titlegh-133046: Ast docstring reformat: remove header, dedent, 80-char width.gh-133046: cleanupast module docstringApr 27, 2025
@AA-TurnerAA-Turner changed the titlegh-133046: cleanupast module docstringgh-133046: Reformat theast module docstringApr 27, 2025
@gpsheadgpshead added the needs backport to 3.13bugs and security fixes labelApr 27, 2025
@gpsheadgpshead merged commit6d53b75 intopython:mainApr 27, 2025
40 checks passed
@miss-islington-app
Copy link

Thanks@hunterhogan for the PR, and@gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestApr 27, 2025
* Fix formatting in module docstring for `ast`python#133046*pythonGH-133046 ast docstring: remove header, dedent, 80-char width.* Keep existing wrapping---------(cherry picked from commit6d53b75)Co-authored-by: Hunter Hogan <hunterhogan@users.noreply.github.com>Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
@bedevere-app
Copy link

GH-133060 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelApr 27, 2025
gpshead pushed a commit that referenced this pull requestApr 27, 2025
…H-133060)gh-133046: Reformat the ``ast`` module docstring (GH-133050)* Fix formatting in module docstring for `ast`#133046*GH-133046 ast docstring: remove header, dedent, 80-char width.* Keep existing wrapping---------(cherry picked from commit6d53b75)Co-authored-by: Hunter Hogan <hunterhogan@users.noreply.github.com>Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
@hunterhoganhunterhogan deleted the ast_docstring_reformat branchApril 27, 2025 23:17
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@gpsheadgpsheadgpshead approved these changes

@AA-TurnerAA-TurnerAA-Turner approved these changes

@isidenticalisidenticalAwaiting requested review from isidenticalisidentical is a code owner

@JelleZijlstraJelleZijlstraAwaiting requested review from JelleZijlstraJelleZijlstra is a code owner

@Eclips4Eclips4Awaiting requested review from Eclips4Eclips4 is a code owner

Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@hunterhogan@gpshead@AA-Turner@picnixz

[8]ページ先頭

©2009-2025 Movatter.jp