New submission from 杨青 <nwpu.yangq...@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@python
components: Documentation
messages: 400007
nosy: docs@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue44966>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to