New submission from Steven D'Aprano :
Sorry Yashwanthbarad, this isn't a bug, you expect the wrong result.
Augmented assignment for lists is documented to be the same as calling the
extend method, which means your AppenedFuncShortHandOperator function modifies
the argument list in-place.
The
Change by Yashwanth Barad :
--
components: Windows
files: List_assignment_in_functions.py
nosy: paul.moore, steve.dower, tim.golden, yashwanthba...@gmail.com, zach.ware
priority: normal
severity: normal
status: open
title: Assignment operation of list is not working as expected
type: be