[pydotorg-www] Application to editors group
Chris Angelico
rosuav at gmail.com
Sat Aug 20 20:39:47 EDT 2022
On Sun, 21 Aug 2022 at 10:04, vv uu <awcextraneous at gmail.com> wrote:
>
> I failed to include my account name in the previous email. It's "AddisonCartmell" .
>
> On Sat, Aug 20, 2022 at 5:03 PM vv uu <awcextraneous at gmail.com> wrote:
>>
>> As stated here, to edit the python wiki I need to join the editors group by emailing this address.
>>
>> The edit I want to make is to correct an error in this page: https://wiki.python.org/moin/Powerful%20Python%20One-Liners
>> The error is in this text:
>>
>> # Superset Python One-Liner
>> lambda l: reduce(lambda z, x: z + [y + [x] for y in z], l, [[]])
>>
>> This lambda essentially produces the power set of the input list l, but is labelled with the word "Superset" for no clear reason; I'd like to change this to "Power set".
>
No probs. I'll take your word for it on what the description should be
(I'm not familiar enough with set theory to instantly recognize the
power set in the comprehension). Go ahead and make the edit.
ChrisA
More information about the pydotorg-www
mailing list