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

GH-128520: pathlib ABCs: tighten up argument types#131621

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
barneygale merged 3 commits intopython:mainfrombarneygale:drop-hasattr
Mar 24, 2025

Conversation

barneygale
Copy link
Contributor

@barneygalebarneygale commentedMar 23, 2025
edited by bedevere-appbot
Loading

InJoinablePath.full_match() andReadablePath.glob(), accept astr pattern argument rather thanJoinablePath | str.

InReadablePath.copy() andcopy_into(), accept aWritablePath target argument rather thanWritablePath | str.

In `JoinablePath.full_match()` and `ReadablePath.glob()`, accept a `str`pattern argument rather than `JoinablePath | str`.In `ReadablePath.copy()` and `copy_into()`, accept a `WritablePath` targetargument rather than `WritablePath | str`.
@barneygalebarneygaleenabled auto-merge (squash)March 24, 2025 15:16
@barneygalebarneygale merged commitd372472 intopython:mainMar 24, 2025
38 checks passed
diegorusso pushed a commit to diegorusso/cpython that referenced this pull requestApr 1, 2025
In `JoinablePath.full_match()` and `ReadablePath.glob()`, accept a `str`pattern argument rather than `JoinablePath | str`.In `ReadablePath.copy()` and `copy_into()`, accept a `WritablePath` targetargument rather than `WritablePath | str`.
seehwan pushed a commit to seehwan/cpython that referenced this pull requestApr 16, 2025
In `JoinablePath.full_match()` and `ReadablePath.glob()`, accept a `str`pattern argument rather than `JoinablePath | str`.In `ReadablePath.copy()` and `copy_into()`, accept a `WritablePath` targetargument rather than `WritablePath | str`.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@barneygale

[8]ページ先頭

©2009-2025 Movatter.jp