Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Speed uppathlib.PurePath.[is_]relative_to() #111429

Closed
@barneygale

Description

@barneygale

Both methods callself.with_segments() unconditionally. This can be skipped if theother argument is already an instance ofPurePath, and no further (deprecated) positional arguments are given.

Also,relative_to() can inline the core of theis_relative_to() check to avoid the type/deprecated args checks.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp