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
Hover message should show doc string for class when __init__ has none #5254
Often, classes have doc comments but __init__ methods don't.
It would be nice and ergonomic if in that case hovering over the MyClass in something like foo = MyClass(bar) would display the classes' doc comment instead of... nothing.
Activity
Vyoum commentedon Oct 16, 2026
Hi, I'd like to work on this, could you assign it to me?
Vyoum commentedon Oct 16, 2026
My plan is to fall back to the class's docstring in the hover handler when init has none, and add a test for it. Could you assign it to me?
jny0444 commentedon Oct 19, 2026
#claim
github-actions commentedon Oct 19, 2026
@jny0444 you've claimed this issue — it's now assigned to you. Thanks for picking it up! 🎉