MCPcopy Index your code
hub / github.com/RustPython/RustPython / parent

Method parent

Lib/zipfile/_path/__init__.py:446–452  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

444
445 @property
446 def parent(self):
447 if not self.at:
448 return self.filename.parent
449 parent_at = posixpath.dirname(self.at.rstrip('/'))
450 if parent_at:
451 parent_at += '/'
452 return self._next(parent_at)

Callers

nothing calls this directly

Calls 2

_nextMethod · 0.95
rstripMethod · 0.45

Tested by

no test coverage detected