Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
str
Function · 0.85
split
Method · 0.45
Tested by
no test coverage detected