New submission from Matt Ward <m...@matthewward.net>:

The 3.8 documentation still includes the text.

```Note that in Python, unlike C, assignment cannot occur inside expressions. C 
programmers may grumble about this, but it avoids a common class of problems 
encountered in C programs: typing = in an expression when == was intended.```

https://docs.python.org/3.8/tutorial/datastructures.html#more-on-conditions

This would seem to no longer be the case with with the inclusion of 
https://www.python.org/dev/peps/pep-0572/ in 3.8 unless I am misunderstanding 
the above statement.

----------
assignee: docs@python
components: Documentation
messages: 355151
nosy: Matt Ward, docs@python
priority: normal
severity: normal
status: open
title: Data Structures documentation out of sync with new Walrus operator
type: enhancement
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38558>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to