Skip to content

Conversation

@TheAhumMaitra
Copy link

Instead of a triple quote string comment, we can utilise a simple comment to enhance and improve the file.

@bedevere-app
Copy link

bedevere-app bot commented Aug 24, 2025

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@bedevere-app
Copy link

bedevere-app bot commented Aug 24, 2025

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@StanFromIreland
Copy link
Member

Hello, we do not accept purely cosmetic changes.

@terryjreedy
Copy link
Member

The triple quote strings are docstrings, which are attached to the runtime objects and which can be interactively viewed.

>>> help(idlelib.autocomplete.AutoComplete.open_completions)
Help on function open_completions in module idlelib.autocomplete:

open_completions(self, args)
    Find the completions and create the AutoCompleteWindow.
    Return True if successful (no syntax error or so found).
    If complete is True, then if there's nothing to complete and no
    start of completion, won't open completions and return False.
    If mode is given, will open a completion list only in this mode.

Replacing them with comments is VERY WRONG. Please stop the bogus PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants