[New-bugs-announce] [issue44966] example code does not macth the very version(3.9)
杨青
report at bugs.python.org
Fri Aug 20 21:14:41 EDT 2021
New submission from 杨青 <nwpu.yangqing at qq.com>:
【url】https://docs.python.org/3/tutorial/errors.html
【chapter】8.2. Exceptions
【origina example code】
>>> '2' + 2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: Can't convert 'int' object to str implicitly
【what i got in practice】
>>> '2' + 2
Traceback (most recent call last):
File "<input>", line 1, in <module>
TypeError: can only concatenate str (not "int") to str
----------
assignee: docs at python
components: Documentation
messages: 400007
nosy: docs at python, yangqing
priority: normal
severity: normal
status: open
title: example code does not macth the very version(3.9)
type: enhancement
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44966>
_______________________________________
More information about the New-bugs-announce
mailing list