Terry J. Reedy added the comment:

LambdaType is a synonym for FunctionType. There should be just one entry, as 
currently, but perhaps make that a bit clearer, as one could misread the 
current line as saying that FunctionType is the type of def statements and 
LambdaType is the type of lambda expressions. This misunderstanding appears in 
python-list discussions occasionally. So I think I would write

types.FunctionType(sig....)
types.LambdaType synonym for FunctionType

Create a function ....

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11776>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to