[issue38558] Data Structures documentation out of sync with new Walrus operator

2019-10-26 Thread Matt Ward


Matt Ward  added the comment:

You're welcome!

On Fri, Oct 25, 2019 at 10:53 PM Ammar Askar  wrote:

>
> Ammar Askar  added the comment:
>
> Thank you for the report Matt!
>
> --
> nosy: +ammar2
> resolution:  -> fixed
> stage: patch review -> resolved
> status: open -> closed
> versions: +Python 3.9
>
> ___
> Python tracker 
> <https://bugs.python.org/issue38558>
> ___
>

--

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



[issue38558] Data Structures documentation out of sync with new Walrus operator

2019-10-22 Thread Matt Ward


New submission from Matt Ward :

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 
<https://bugs.python.org/issue38558>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com