Skip to content

__fspath__ #62

@westurner

Description

@westurner

New in version 3.6.

abstractmethod __fspath__()
Return the file system path representation of the object.

The method should only return a str or bytes object, with the preference being for str.
https://docs.python.org/3/library/os.html#os.PathLike.__fspath__

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions