Skip to content

Conversation

pawamoy
Copy link
Contributor

@pawamoy pawamoy commented Oct 9, 2025

The __module__ attribute must be a string or None, not an actual module instance. Make it clear in the __module__ attribute description, and consistent with other occurrences throughout the docs.

Fixes #139842.


📚 Documentation preview 📚: https://cpython-previews--139863.org.readthedocs.build/

The `__module__` attribute must be a string or `None`, not an actual module instance.

See python#139842.
@bedevere-app bedevere-app bot added docs Documentation in the Doc dir skip news labels Oct 9, 2025
@python-cla-bot
Copy link

python-cla-bot bot commented Oct 9, 2025

All commit authors signed the Contributor License Agreement.

CLA signed

Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@AlexWaygood AlexWaygood added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Oct 9, 2025
@AlexWaygood AlexWaygood merged commit f575dd9 into python:main Oct 9, 2025
42 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Oct 9, 2025
@miss-islington-app
Copy link

Thanks @pawamoy for the PR, and @AlexWaygood for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 9, 2025
…onGH-139863)

(cherry picked from commit f575dd9)

Co-authored-by: Timothée Mazzucotelli <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 9, 2025
…onGH-139863)

(cherry picked from commit f575dd9)

Co-authored-by: Timothée Mazzucotelli <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Oct 9, 2025

GH-139869 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Oct 9, 2025
@bedevere-app
Copy link

bedevere-app bot commented Oct 9, 2025

GH-139870 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Oct 9, 2025
AlexWaygood pushed a commit that referenced this pull request Oct 9, 2025
AlexWaygood pushed a commit that referenced this pull request Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Documentation for __module__
3 participants