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

Method name

Lib/pathlib/types.py:100–102  ·  view source on GitHub ↗

The final path component, if any.

(self)

Source from the content-addressed store, hash-verified

98
99 @property
100 def name(self):
101 """The final path component, if any."""
102 return self.parser.split(str(self))[1]
103
104 @property
105 def suffix(self):

Callers

nothing calls this directly

Calls 2

strFunction · 0.85
splitMethod · 0.45

Tested by

no test coverage detected