lambda issues

Schachner, Joseph Joseph.Schachner at Teledyne.com
Wed Apr 20 13:54:27 EDT 2022


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 <python-list-bounces+joseph.schachner=teledyne.com at python.org> On Behalf Of python-list-request at python.org
Sent: Wednesday, April 20, 2022 12:00 PM
To: python-list at python.org
Subject: Python-list Digest, Vol 223, Issue 20

---External Email---

Send Python-list mailing list submissions to
	python-list at python.org

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
	python-list-request at python.org

You can reach the person managing the list at
	python-list-owner at python.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of Python-list digest..."


More information about the Python-list mailing list