[Python-ideas] Re: extend method of the list class could return a reference to the list so that we can chain method calls

2023-05-28 Thread Richard Damon
On 5/28/23 7:32 PM, Samuel Muldoon wrote: *Currently, list.extend does not allow method chaining.* * * *parameters = [     "zero or more",     "zero or more".upper(),     "zero or more".lower(),     "Zero or More" * *].extend(["(0, +inf)", "[0; +in**f]"])* * * *parameters.extend(["{0, \u221E}"]).

[Python-ideas] extend method of the list class could return a reference to the list so that we can chain method calls

2023-05-28 Thread Samuel Muldoon
*Currently, list.extend does not allow method chaining.* *parameters = ["zero or more","zero or more".upper(),"zero or more".lower(),"Zero or More"* *].extend(["(0, +inf)", "[0; +in**f]"])* *parameters.extend(["{0, \u221E}"]).append("(0 inf)")* *Samuel Muldoon* *(720) 653