]> granicus.if.org Git - python/commit
An instance of class PicklingError was used here simply as an example of
authorTim Peters <tim.peters@gmail.com>
Tue, 15 Feb 2005 16:22:34 +0000 (16:22 +0000)
committerTim Peters <tim.peters@gmail.com>
Tue, 15 Feb 2005 16:22:34 +0000 (16:22 +0000)
commit90718a4eb5a21d903d9cefdb7f8cdb50e847187b
tree1020789c8b03fe30b04234695cd92a5a4c19dfa7
parentf0588583475fed46adac06dce59d82f7f34ca966
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.
Lib/pickletools.py