Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add 'be'
  • Loading branch information
terryjreedy committed Nov 15, 2020
commit 09653d783ea2bef0ea40832e8bce8ee62d4a6c2c
2 changes: 1 addition & 1 deletion Doc/reference/expressions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1687,7 +1687,7 @@ Or, when processing a file stream in chunks:
while chunk := file.read(9000):
process(chunk)

Assignment expressions must surrounded by parentheses when used
Assignment expressions must be surrounded by parentheses when used
as sub-expressions in subscript, slicing, conditional, lambda,
Comment thread
JelleZijlstra marked this conversation as resolved.
Outdated
Comment thread
JelleZijlstra marked this conversation as resolved.
Outdated
keyword-argument, generator, and comprehension-if expressions. They
Comment thread
JelleZijlstra marked this conversation as resolved.
Outdated
Comment thread
JelleZijlstra marked this conversation as resolved.
Outdated
can only be used as is in if and while statements and in decorators.
Comment thread
JelleZijlstra marked this conversation as resolved.
Outdated
Comment thread
JelleZijlstra marked this conversation as resolved.
Outdated
Comment thread
JelleZijlstra marked this conversation as resolved.
Outdated
Expand Down