Skip to content

Document getopt and gnu_getopt longopts argument as string#153976

Open
flofriday wants to merge 1 commit into
python:mainfrom
flofriday:document-getopt-longopts-string
Open

Document getopt and gnu_getopt longopts argument as string#153976
flofriday wants to merge 1 commit into
python:mainfrom
flofriday:document-getopt-longopts-string

Conversation

@flofriday

Copy link
Copy Markdown
Contributor

The functions getopt.getopt() and getopt.gnu_getopt() can also take a str as the longopts argument which this PR now also documents as was suggested in this comment.

@bedevere-app bedevere-app Bot added docs Documentation in the Doc dir skip news labels Jul 18, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Jul 18, 2026
@flofriday
flofriday force-pushed the document-getopt-longopts-string branch from b34ca02 to 15c323f Compare July 18, 2026 14:10
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33646642 | 📁 Comparing 15c323f against main (0fa144b)

  🔍 Preview build  

1 file changed
± library/getopt.html

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

Projects

Status: Todo
Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants