File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -332,6 +332,7 @@ Formally:
332332 single: parenthesized form
333333 single: () (parentheses)
334334
335+ .. _parenthesized-forms :
335336.. _parenthesized :
336337
337338Parenthesized groups
@@ -365,7 +366,7 @@ Formally, the syntax for groups is:
365366
366367 group: '(' `assignment_expression ` ')'
367368
368-
369+ .. _ displays-for-lists-sets-and-dictionaries :
369370.. _displays :
370371
371372Container displays
@@ -642,7 +643,6 @@ This may be used to override a set of defaults::
642643.. versionadded :: 3.5
643644 Unpacking into dictionary displays, originally proposed by :pep: `448 `.
644645
645-
646646The formal grammar for dict displays is:
647647
648648.. grammar-snippet ::
@@ -924,6 +924,7 @@ execution of the coroutine function in which it appears.
924924 asynchronous functions. Outer comprehensions implicitly become
925925 asynchronous.
926926
927+ .. _comprehension-grammar :
927928
928929Formal grammar for comprehensions
929930^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Original file line number Diff line number Diff line change 11# HTML IDs excluded from the check-html-ids.py check.
2+
3+
4+ ## Old names for grammar tokens
5+ reference/expressions.html: grammar-token-python-grammar-comp_for
6+ reference/expressions.html: grammar-token-python-grammar-comp_if
7+ reference/expressions.html: grammar-token-python-grammar-comp_iter
8+ reference/expressions.html: grammar-token-python-grammar-dict_comprehension
9+ reference/expressions.html: grammar-token-python-grammar-dict_display
10+ reference/expressions.html: grammar-token-python-grammar-dict_item
11+ reference/expressions.html: grammar-token-python-grammar-dict_item_list
12+ reference/expressions.html: grammar-token-python-grammar-enclosure
13+ reference/expressions.html: grammar-token-python-grammar-list_display
14+ reference/expressions.html: grammar-token-python-grammar-parenth_form
15+ reference/expressions.html: grammar-token-python-grammar-set_display
You can’t perform that action at this time.
0 commit comments