RE: Python-list Digest, Vol 232, Issue 1

2023-01-02 Thread avi.e.gross
Python-list On Behalf Of Christman, Roger Graydon Sent: Sunday, January 1, 2023 7:31 PM To: python-list@python.org Subject: Re: Python-list Digest, Vol 232, Issue 1 Re: Nonetype List In my introductory programming course, I have drawn some attention to this behavior regarding mutating lists. In

Re: Python-list Digest, Vol 232, Issue 1

2023-01-01 Thread Christman, Roger Graydon
Re: Nonetype List In my introductory programming course, I have drawn some attention to this behavior regarding mutating lists. Indeed, Python is very consistent with its behavior: Any function that mutates a list parameter does not return that list as a return value. For one thing, there is