]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
SF 798269: bug fix for doctest (sf bug id: 798254
authorRaymond Hettinger <python@rcn.com>
Tue, 2 Sep 2003 02:10:09 +0000 (02:10 +0000)
committerRaymond Hettinger <python@rcn.com>
Tue, 2 Sep 2003 02:10:09 +0000 (02:10 +0000)
commit2dc4637978750a7aef3fdec5a44debc259654463
tree24b124b58cc4f72d5031cb5af8824390e0307cac
parentd73fe468f0bb1d33de00de11703673d813684c09
SF 798269:  bug fix for doctest (sf bug id: 798254
(Contributed by Alexander Belopolsky.)

Doctest would crash when encountering unbound methods:
  class A:
    def f(self): pass

  class C(A):
    g = A.f
Lib/doctest.py