IDLE docstring indentation
Open
Nobody has claimed this yet.
stdlib
topic-IDLE
type-feature
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
Bug report
Bug description:
def _run():
"""Run.
Run away.
"""
print("Running away...")
It doesn't auto indent the second line and below.
CPython versions tested on:
3.13
Operating systems tested on:
No response
Linked PRs
- gh-138572
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in Python 3.13's IDLE with the docstring example, then review linked PR gh-138572 for the work already underway. Done means the second and subsequent docstring lines are automatically indented while editing the function.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100