gh-89885: Add example for spam.Bar#91523
Conversation
|
What if we got rid of bar completely? I think one submodule is enough to make the point, and examples should be as simple as possible. |
|
Hmm, I agree that examples should be as simple as possible, but for some reason I feel like having more than one makes somewhat of a stronger point, maybe similar to how examples with lists usually seem to come with multiple elements, even though it might not be strictly necessary. I'll mull over it a bit, but I can't quite put my finger on a concrete reason so I'll probably get it changed to the simpler example |
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
|
Thanks @slateny for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10. |
|
GH-91648 is a backport of this pull request to the 3.10 branch. |
|
GH-91649 is a backport of this pull request to the 3.9 branch. |
…H-91523) (python#91649) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit d5a6957) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
#89885
Instead of showing
fooandFoo, I opted to change it slightly and showfooandBar(deletingbar)