8000 gh-126390: Support for preserving order of options and nonoption arguments in gnu_getopt() by serhiy-storchaka · Pull Request #126393 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-126390: Support for preserving order of options and nonoption arguments in gnu_getopt() #126393

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 13, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
minor docstring typo fix.
  • Loading branch information
gpshead authored and serhiy-storchaka committed Nov 11, 2024
commit aff48a2aa436053113566696f3f1fe709d0d7bc8
2 changes: 1 addition & 1 deletion Lib/getopt.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def getopt(args, shortopts, longopts = []):
long options which should be supported. The leading '--'
characters should not be included in the option name. Options
which require an argument should be followed by an equal sign
('='). Options which acept an optional argument should be
('='). Options which accept an optional argument should be
followed by an equal sign and question mark ('=?').

The return value consists of two elements: the first is a list of
Expand Down
Loading
0