]> granicus.if.org Git - python/commit
SF 798269: bug fix for doctest (sf bug id: 798254
authorRaymond Hettinger <python@rcn.com>
Tue, 2 Sep 2003 02:09:05 +0000 (02:09 +0000)
committerRaymond Hettinger <python@rcn.com>
Tue, 2 Sep 2003 02:09:05 +0000 (02:09 +0000)
commit5f8b0b1fd4801b4808223077643c24d41130b81e
treecd83260f9b194ddaebed6590f2a780e5a2bdd8a2
parent5d2e777787fe30a371987b11904bbd0fbcec7840
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