Clarify rx parameter of compileall functions #25857
Conversation
This includes nesting re.Pattern (and, while at it, re.Match) in a class directive so it can be cross-referenced.
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA). CLA MissingOur records indicate the following people have not signed the CLA: For legal reasons we need all the people listed to sign the CLA before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. If you have recently signed the CLA, please wait at least one business day You can check yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
Looks good, thanks for your contribution! I didn't build the docs manually though to see how it looks. |
@Jean-Abou-Samra don't forgot to sign the CLA. The diff looks ugly, but it is correct, yet I'm not fully happy with the output, (and not fully happy with this kind of diff):
I mean, the "Match objects support the following methods and attributes:" looks wrong now that the following item is a class, not a list of methods and attributes. @Jean-Abou-Samra In order to fix this, and to have a cleaner diff, can you please link using:
instead of:
? This would completly avoid touching the Bonne soirée. |
@JulienPalard I followed your suggestion and it should look cleaner now. (Also signed the CLA.) The CI failure seems like an artifact of the renaming of the master branch yesterday. Let's see how it goes this time. |
LGTM |
Thanks @Jean-Abou-Samra for the PR, and @JulienPalard for merging it |
@JulienPalard: Please replace |
(woops the GH- :D it's hard to ping-pong between repos with different rules |
GH-25900 is a backport of this pull request to the 3.10 branch. |
(cherry picked from commit 0949029) Co-authored-by: Jean-Abou-Samra <37271310+Jean-Abou-Samra@users.noreply.github.com>
GH-25901 is a backport of this pull request to the 3.9 branch. |
(cherry picked from commit 0949029) Co-authored-by: Jean-Abou-Samra <37271310+Jean-Abou-Samra@users.noreply.github.com>
(cherry picked from commit 0949029) Co-authored-by: Jean-Abou-Samra <37271310+Jean-Abou-Samra@users.noreply.github.com>
This includes nesting re.Pattern (and, while at it, re.Match) in
a class directive so it can be cross-referenced.