Re: [Tutor] Do _all_ Python builtin methods/functions return "None" IF ...

2018-01-27 Thread Cameron Simpson
On 27Jan2018 09:18, Alan Gauld wrote: On 27/01/18 02:56, boB Stepp wrote: So my actual question is: For these types of methods/functions, is Python Both versions 2 and 3) consistent throughout and *always* returns None? Mostly, but only for mutable objects. So the string methods return a new

Re: [Tutor] Do _all_ Python builtin methods/functions return "None" IF ...

2018-01-27 Thread Alan Gauld via Tutor
On 27/01/18 02:56, boB Stepp wrote: > So my actual question is: For these types of methods/functions, is > Python Both versions 2 and 3) consistent throughout and *always* > returns None? Mostly, but only for mutable objects. So the string methods return a new string with the modifications becau