1.

Which of the following functions raises an error when an unpicklable object is encountered by Pickler?(a) pickle.PickleError(b) pickle.PicklingError(c) pickle.UnpickleError(d) pickle.UnpicklingErrorThe question was asked in final exam.I want to ask this question from Pickle Module topic in portion Mapping Functions and Modules of Python

Answer»

Correct CHOICE is (b) pickle.PicklingError

Explanation: The FUNCTION pickle.PicklingError RAISES an ERROR when an unpickable object is encountered by Pickler.



Discussion

No Comment Found

Related InterviewSolutions