[issue40450] a=[1,2,3] a=a.extend([4]) after running these two lines of code a is None,but it show be [1,2,3,4]
wei gu
report at bugs.python.org
Thu Apr 30 09:02:47 EDT 2020
Change by wei gu <guwei0802 at gmail.com>:
----------
components: +Interpreter Core
resolution: -> wont fix
title: wrong -> a=[1,2,3] a=a.extend([4]) after running these two lines of code a is None,but it show be [1,2,3,4]
type: -> behavior
versions: +Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9
Added file: https://bugs.python.org/file49102/error.png
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40450>
_______________________________________
More information about the Python-bugs-list
mailing list