When executing
and giving an input of, say, ghi to the prompt, help terminates with an error.
However, the IDLE calltip for help changes from
(*args, **kwds)
Define the builtin 'help'
to
Import can't find module, or can't find name in module.
(This is after ending the help session and typing help()
What is weird is that if I do the same thing again, except that I provide an input of abc, as an example of a valid name, the calltip restores back to what it originally was.
Besides, the calltip also changes for other names. If I reproduce this issue, and then I type print(, the same calltip
Import can't find module, or can't find name in module.
comes.
Is this intended behaviour?
NOTE: This behaviour is not specific to help. See #105689 (comment).
My environment
- CPython versions tested on: 3.11.3
- Operating system and architecture: Windows 11
(Note: I wanted to attach a picture, but calltips go away as soon as I take a screenshot)
Linked PRs
When executing
help()and giving an input of, say,
ghito the prompt,helpterminates with an error.However, the IDLE calltip for help changes from
to
(This is after ending the
helpsession and typinghelp()What is weird is that if I do the same thing again, except that I provide an input of
abc, as an example of a valid name, the calltip restores back to what it originally was.Besides, the calltip also changes for other names. If I reproduce this issue, and then I type
print(, the same calltipcomes.
Is this intended behaviour?
NOTE: This behaviour is not specific to
help. See #105689 (comment).My environment
(Note: I wanted to attach a picture, but calltips go away as soon as I take a screenshot)
Linked PRs