Re: "...which takes a callable (the lambda here)" Python lamdas have some severe restrictions. In any place that takes a callable, if a lambda can't serve, just use def to write a function and use the function name.
---- Joseph S. Teledyne Confidential; Commercially Sensitive Business Data -----Original Message----- From: Python-list <[email protected]> On Behalf Of [email protected] Sent: Wednesday, April 20, 2022 12:00 PM To: [email protected] Subject: Python-list Digest, Vol 223, Issue 20 ---External Email--- Send Python-list mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://mail.python.org/mailman/listinfo/python-list or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Python-list digest..." -- https://mail.python.org/mailman/listinfo/python-list
