An instance of class PicklingError was used here simply as an example of
_some_ user-defined class instance. That it was also an exception isn't interesting, but does interfere with Michael Hudson's new-style exception patch. This just changes the doctest example, to use an instance of a non-exception class.
Showing
Please
register
or
sign in
to comment