gh-113664: Improve style of Big O notation#113695
Conversation
Use cursive to make it looking like mathematical formulas.
|
Nice. Could we use the Sphinx |
|
It was discussed in gh-113673. It looks like it was decided against because it is rendered in a different font. |
|
@Rowlando13, thanks for the heads-up; I missed that discussion. I'm fine with the consensus of using italics for such notations1. Footnotes
|
|
I tried also with :math: in #113724. |
|
Digression: I don't think O(highest file descriptor) and O(number of file descriptors) is valid Big O notation. We can change that in a follow-up PR. |
|
IMO, O(highest file descriptor) is fine. It would be more complicated if we did use |
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Use cursive to make it looking like mathematic formulas. (cherry picked from commit a862981) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
Sorry, @serhiy-storchaka, I could not cleanly backport this to |
|
GH-113909 is a backport of this pull request to the 3.12 branch. |
) Use cursive to make it looking like mathematic formulas. (cherry picked from commit a862981) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
GH-113910 is a backport of this pull request to the 3.11 branch. |
|
I've created python/devguide#1261 to document this style in the devguide. |
Use cursive to make it looking like mathematic formulas.
Use cursive to make it looking like mathematic formulas.
Use cursive to make it looking like mathematic formulas.



Use cursive to make it looking like mathematical formulas.
📚 Documentation preview 📚: https://cpython-previews--113695.org.readthedocs.build/