| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
OTOH, adding ! to the existing refs will definitely look prettier, IMO. I will consider this. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM.
As discussed in python/devguide#916 (comment), using ``...`` is preferable to :const:`!...`.
Sorry, something went wrong.
|
Thanks, Ezio! I forgot to change the parameter list types1; I'll update those before merging. OTOH, I'm not sure about changing those; maybe best to leave those to the :type directives. Thoughts, @CAM-Gerlach, @ezio-melotti? Footnotes
|
Sorry, something went wrong.
That's what I would do (and have done in my PRs doing this elsewhere) as its simpler, consistent with standard Sphinxdoc usage and the structure makes its semantics unambiguous without the need for additional formatting, particularly since the context is as a type, not a code literal. If we need to customize it, we could monkeypatch the directive or submit an upstream PR instead of manually doing every one. |
Sorry, something went wrong.
There was a problem hiding this comment.
I regexed the doc, built it and and spot-checked the preview, and this LGTM, thanks @erlend-aasland
Sorry, something went wrong.
|
Yes, you spelled out my thoughts about this, CAM :) Also, +1 to this:
Thanks for the review, both of you. Highly appreciated! I'll land this. |
Sorry, something went wrong.
|
Thanks @erlend-aasland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
Sorry, something went wrong.
|
Sorry, @erlend-aasland, I could not cleanly backport this to 3.10 due to a conflict. |
Sorry, something went wrong.
|
GH-95616 is a backport of this pull request to the 3.11 branch. |
Sorry, something went wrong.
…endations (pythonGH-95525) (cherry picked from commit 4d02572) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
… recommendations (pythonGH-95525). (cherry picked from commit 4d02572) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
|
GH-95618 is a backport of this pull request to the 3.10 branch. |
Sorry, something went wrong.
Probably less concisely than you would have, though 😆 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.