os.path.dirname =============== .. currentmodule:: os.path .. autofunction:: dirname