diff options
author | shadchin <shadchin@yandex-team.com> | 2025-02-02 10:11:20 +0300 |
---|---|---|
committer | shadchin <shadchin@yandex-team.com> | 2025-02-02 10:26:54 +0300 |
commit | d5cb068a0b1e8633e07cb646a1b4e8423b9afadd (patch) | |
tree | 3f56d469ed242e648b7bca4d1c9a9c9fc71f3498 /library/python/runtime_py3/sitecustomize.pyx | |
parent | 637f8bbf610e99859dfbdbde49d99e9c60a7acf7 (diff) | |
download | ydb-d5cb068a0b1e8633e07cb646a1b4e8423b9afadd.tar.gz |
Add `stem` property
commit_hash:ee709cc1095985919972e31b34d0127eb322959f
Diffstat (limited to 'library/python/runtime_py3/sitecustomize.pyx')
-rw-r--r-- | library/python/runtime_py3/sitecustomize.pyx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library/python/runtime_py3/sitecustomize.pyx b/library/python/runtime_py3/sitecustomize.pyx index 9171a56174..8d30073d7d 100644 --- a/library/python/runtime_py3/sitecustomize.pyx +++ b/library/python/runtime_py3/sitecustomize.pyx @@ -42,6 +42,9 @@ class ArcadiaTraversable(Traversable): def suffix(self): return self._path.suffix + @property + def stem(self): + return self._path.stem class ArcadiaResource(ArcadiaTraversable): |