• Tim Peters's avatar
    Since inspect.isfunction(obj) is a precondition for calling · 4bcfa317
    Tim Peters yazdı
    inspect.getargspec(obj), test isfunction() directly in pydoc.py instead
    of trying to indirectly deduce isfunction() in pydoc by virtue of
    failing a combination of other tests.  This shouldn't have any visible
    effect, except perhaps to squash a TypeError death if there was some path
    thru this code that was inferring isfunction() by mistake.
    4bcfa317
pydoc.py 74.3 KB