-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-92120: The docstring of enum.Enum is invalid in reST #92122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-92120: The docstring of enum.Enum is invalid in reST #92122
Conversation
Thank you Takeshi-san! Are similar fixes needed in the Line 504 in ad5e852
Line 558 in ad5e852
Please could you include a NEWS file? https://devguide.python.org/committing/#updating-news-and-what-s-new-in-python |
I am more interested in the docstrings being usable by |
4b243fd
to
eb44f0b
Compare
Thank you for your reviews! I also fixed EnumTypes class.
Yes. I confirmed it on my local. This change does not prevent the result of doctest. Of course, the number of cases are not changed. Additionally, doctest on GitHub Action is also passed. |
Misc/NEWS.d/next/Library/2022-05-06-01-53-34.gh-issue-92122.96Lf2p.rst
Outdated
Show resolved
Hide resolved
eb44f0b
to
d95098e
Compare
✅ Deploy Preview for python-cpython-preview canceled.
|
Closes #92120
enum.Enum
is invalid in reStructuredText since 3.11 #92120