File: lib_using_pathlib.py

package info (click to toggle)
python-pyfakefs 5.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,476 kB
  • sloc: python: 20,153; makefile: 4
file content (5 lines) | stat: -rw-r--r-- 75 bytes parent folder | download
1
2
3
4
5
import pathlib


def use_pathlib(path: str):
    return pathlib.Path(path)