Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
76e6da38
Commit
76e6da38
authored
Dec 21, 1999
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document GetoptError and label error an alias.
parent
80c33e56
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
Doc/lib/libgetopt.tex
Doc/lib/libgetopt.tex
+9
-2
No files found.
Doc/lib/libgetopt.tex
View file @
76e6da38
...
...
@@ -41,12 +41,19 @@ found, thus allowing multiple occurrences. Long and short options may
be mixed.
\end{funcdesc}
\begin{excdesc}
{
e
rror
}
\begin{excdesc}
{
GetoptE
rror
}
This is raised when an unrecognized option is found in the argument
list or when an option requiring an argument is given none.
The argument to the exception is a string indicating the cause of the
error. For long options, an argument given to an option which does
not require one will also cause this exception to be raised.
not require one will also cause this exception to be raised. The
attributes
\member
{
msg
}
and
\member
{
opt
}
give the error message and
related option; if there is no specific option to which the exception
relates,
\member
{
opt
}
is an empty string.
\end{excdesc}
\begin{excdesc}
{
error
}
Alias for
\exception
{
GetoptError
}
; for backward compatibility.
\end{excdesc}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment