File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ The :keyword:`for` statement is used to iterate over the elements of a sequence
154154(such as a string, tuple or list) or other iterable object:
155155
156156.. productionlist :: python-grammar
157- for_stmt: "for" `target_list ` "in" `starred_list ` ":" `suite `
157+ for_stmt: "for" `target_list ` "in" `! starred_list ` ":" `suite `
158158 : ["else" ":" `suite `]
159159
160160The ``starred_list `` expression is evaluated once; it should yield an
@@ -844,7 +844,7 @@ A literal pattern corresponds to most
844844 literal_pattern: `signed_number `
845845 : | `signed_number ` "+" NUMBER
846846 : | `signed_number ` "-" NUMBER
847- : | `strings `
847+ : | `! strings `
848848 : | "None"
849849 : | "True"
850850 : | "False"
Original file line number Diff line number Diff line change 444444
445445 These represent a mutable set. They are created by the built-in :func: `set `
446446 constructor and can be modified afterwards by several methods, such as
447- :meth: `add <frozenset .add> `.
447+ :meth: `~set .add `.
448448
449449
450450Frozen sets
You can’t perform that action at this time.
0 commit comments