Joël Bourgault added the comment:
Complement: the Python tutorial presents the "magic _" in the following
section, close to its end:
https://docs.python.org/3/tutorial/introduction.html#numbers
> In interactive mode, the last printed expression is assigned to
Change by Joël Bourgault :
--
assignee: -> docs@python
components: +Documentation
nosy: +docs@python
___
Python tracker
<https://bugs.python.org/issu
Joël Bourgault added the comment:
I obtain the reported behaviour using `python -m doctests .md` in
a Gitlab pipeline, so it is likely that the execution is similar to the Python
interpreter.
Therefore, I am satisfied by your answer, so I close this 'bug'; thanks a lot!
Now, abou
New submission from Joël Bourgault :
While testing the `match...case` construction, I get the following behavior
with Docker image Python 3.10 rc2-slim:
```python
>>> match "robert":
... case x if len(x) > 10:
... print("long nom")
... case [0,