def extend(self, normsubpaths):
"""extend path by normsubpaths or pathitems"""
for anormsubpath in normsubpaths:
# use append to properly handle regular path items as well as normsubpaths
self.append(anormsubpath)
文章目录