File: lib_using_pathlib.py

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


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