Minor documentation bugs related to expressions and the assignment expression

Hello! I was looking at https://docs.python.org/3.10/reference/expressions.html and I found a few minor opportunities for improvements: 1. Lowest priority? At section 6.13, it says: “Conditional expressions (sometimes called a “ternary operator”) have the lowest priority of all Python operations.” However, further down below in the "6.17. Operator precedence" section, the if-else expression has higher precedence than both lambda and walrus. Maybe those two are not technically "operations", but since they are under operator precedence, they are operations. It's confusing, and it's a minor detail, but still worth fixing. 2. Indexing the walrus operator If you look at the main index: https://docs.python.org/3.10/genindex-all.html You can find most operators, but you can't find the walrus operator. Try Ctrl+F and search for "walrus", ":=", "named expression", "assignment expression", "assignment"→"expression". You can't find them anywhere in the index. Sure, you can find them at the main search page: https://docs.python.org/3.10/search.html?q=walrus Again, a minor issue, but still worth fixing. And since I know the walrus operator is new, I wonder if any of the newer sections of the documentation could also suffer from the same issue. Best regards, -- Denilson Figueiredo de Sá Maia http://denilson.sa.nom.br/

Thanks for the report. I have opened these issues on GitHub: https://github.com/python/cpython/issues/97914 https://github.com/python/cpython/issues/97913 On Wed, Oct 5, 2022 at 7:25 AM Denilson Sá Maia <denilsonsa@gmail.com> wrote:

Thanks for the report. I have opened these issues on GitHub: https://github.com/python/cpython/issues/97914 https://github.com/python/cpython/issues/97913 On Wed, Oct 5, 2022 at 7:25 AM Denilson Sá Maia <denilsonsa@gmail.com> wrote:
participants (2)
-
Denilson Sá Maia
-
Mariatta