Vidyalelo
Python · Q109

Module in Python

Programming · Python · question 109

Q109

Which of the following cannot be pickled?

A.
Functions which are defined at the top level of a module with lambda
Answer
B.
Functions which are defined at the top level of a module with def
C.
Built-in functions which are defined at the top level of a module
D.
Classes which are defined at the top level of a module

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board