method: path.local.parts

 return a root-first list of all ancestor directories
            plus the path itself.
        
    def parts(self, reverse=False):

origin: PathBase

where:

function source:

def parts(self, reverse=False):
    """ return a root-first list of all ancestor directories
            plus the path itself.
        """
    current = self
    l = [self]
    while 1:
        last = current
        current = current.dirpath()
        if last == current:
            break
        l.insert(0, current)
    if reverse:
        l.reverse()
    return l

call sites:

called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py

traceback path.local.parts.0

called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py

traceback path.local.parts.1

called in /home/johnny/projects/merlinux/py/dist/py/test/config.py

traceback path.local.parts.2

called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py

traceback path.local.parts.3

called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py

traceback path.local.parts.4

called in /home/johnny/projects/merlinux/py/dist/py/path/common.py

traceback path.local.parts.5

called in /tmp/pytest-418/docdoctest/conftest.py

traceback path.local.parts.6

called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py

traceback path.local.parts.7

called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py

traceback path.local.parts.8

called in /home/johnny/projects/merlinux/py/dist/py/test/config.py

traceback path.local.parts.9

called in /home/johnny/projects/merlinux/py/dist/py/path/common.py

traceback path.local.parts.10

called in /home/johnny/projects/merlinux/py/dist/py/test/config.py

traceback path.local.parts.11

called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py

traceback path.local.parts.12

called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py

traceback path.local.parts.13

called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py

traceback path.local.parts.14

called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py

traceback path.local.parts.15

called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py

traceback path.local.parts.16

called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py

traceback path.local.parts.17

called in /home/johnny/projects/merlinux/py/dist/py/path/common.py

traceback path.local.parts.18

called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py

traceback path.local.parts.19

called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py

traceback path.local.parts.20