def _cherrypy_pydoc_resolve(thing, forceload=0):
 if isinstance(thing, _ThreadLocalProxy):
  thing = getattr(serving, thing.__attrname__)
 return _pydoc._builtin_resolve(thing, forceload)

def _cherrypy_pydoc_resolve ( thing , forceload = 0 ) : if isinstance ( thing , _ThreadLocalProxy ) : thing = getattr ( serving , thing . __attrname__ ) return _pydoc . _builtin_resolve ( thing , forceload )
given an object or a path to an object .