[New-bugs-announce] [issue46460] Doc/library/dis.rst lists `versionchange` twice for `WITH_EXCEPT_START`

Nikita Sobolev report at bugs.python.org
Fri Jan 21 11:50:39 EST 2022


New submission from Nikita Sobolev <mail at sobolevn.me>:

Right now it has two sections:

```
.. versionchanged:: 3.11
       The ``__exit__`` function is in position 8 of the stack rather than 7.

```

And

```
.. versionchanged:: 3.11
       The ``__exit__`` function is in position 4 of the stack rather than 7.
       Exception representation on the stack now consist of one, not three, items.
```

Furthermore, they seem to contradict each other.
I think that we should only keep the last one.

I will send a PR for it.

----------
assignee: docs at python
components: Documentation
messages: 411147
nosy: docs at python, sobolevn
priority: normal
severity: normal
status: open
title: Doc/library/dis.rst lists `versionchange` twice for `WITH_EXCEPT_START`
type: behavior
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46460>
_______________________________________


More information about the New-bugs-announce mailing list