You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
idlelib: stray comma makes __repr__ format a one-element tuple #161477
The comma inside the substitution field makes the expression a one-element
tuple, so repr() returns ('WidgetRedirector',)(Text<.text>) instead of WidgetRedirector(Text<.text>). The same mistake is duplicated in OriginalCommand.__repr__ in the same file.
Activity
terryjreedy commentedon Nov 6, 2026
Extracted from closed PR #161423
gh-161477: Fix single-element tuple in idlelib redirector `__repr__` (#…