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-141127: Clarify os.symlink() documentation for argument order#141144

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

Open
chillakalyan wants to merge1 commit intopython:main
base:main
Choose a base branch
Loading
fromchillakalyan:fix-symlink-doc-141127

Conversation

@chillakalyan
Copy link

@chillakalyanchillakalyan commentedNov 6, 2025
edited by bedevere-appbot
Loading

Summary

This pull request clarifies the documentation foros.symlink() to make the argument order unambiguous and consistent with Unix conventions.

before

os.symlink(src,dst,target_is_directory=False,*,dir_fd=None)Createasymboliclinkpointingtosrcnameddst.<!--readthedocs-previewcpython-previewsstart-->----📚Documentationpreview 📚:https://cpython-previews--141144.org.readthedocs.build/<!--readthedocs-previewcpython-previewsend--><!--gh-issue-number:gh-141127-->*Issue:gh-141127<!--/gh-issue-number-->

@python-cla-bot
Copy link

python-cla-botbot commentedNov 6, 2025
edited
Loading

All commit authors signed the Contributor License Agreement.

CLA signed

@bedevere-appbedevere-appbot added docsDocumentation in the Doc dir skip news labelsNov 6, 2025
@chillakalyanchillakalyan changed the titlebpo-141127: Clarify os.symlink() documentation for argument ordergh-141127: Clarify os.symlink() documentation for argument orderNov 6, 2025


..function::symlink(src, dst, target_is_directory=False, *, dir_fd=None)
..function::symlink(target, link_name, target_is_directory=False, *, dir_fd=None)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This signature is now incorrect as you cannot pass atarget keyword argument (src is postional-or-keyword).

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@StanFromIrelandStanFromIrelandStanFromIreland left review comments

Assignees

No one assigned

Labels

awaiting reviewdocsDocumentation in the Doc dirskip news

Projects

Status: Todo

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@chillakalyan@StanFromIreland

[8]ページ先頭

©2009-2025 Movatter.jp