我希望能够打印lambda函数的定义代码.
示例如果我通过lambda语法定义此函数:
>>>myfunction = lambda x: x==2 >>>print_code(myfunction)
我想得到这个输出:
x==2
python
python ×1