summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-04-18 03:18:57 (GMT)
committerFred Drake <fdrake@acm.org>2001-04-18 03:18:57 (GMT)
commit293f77af6f9ceb96e527c17e0a7a72882d7680b2 (patch)
tree184882619275bf16ee5089c9226f41e093bc30fa /Doc
parentc2b29d0fee7e7506ce53e55e55cd2bf0dadedc0b (diff)
downloadcpython-293f77af6f9ceb96e527c17e0a7a72882d7680b2.zip
cpython-293f77af6f9ceb96e527c17e0a7a72882d7680b2.tar.gz
cpython-293f77af6f9ceb96e527c17e0a7a72882d7680b2.tar.bz2
Add note about the version in which GetoptError was added -- this can
bite people interested in 1.5.2 compatibility.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libgetopt.tex3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/lib/libgetopt.tex b/Doc/lib/libgetopt.tex
index c96c3cf..fff3043 100644
--- a/Doc/lib/libgetopt.tex
+++ b/Doc/lib/libgetopt.tex
@@ -64,6 +64,9 @@ 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.
+
+\versionchanged[Introduced \exception{GetoptError} as a synonym for
+ \exception{error}]{1.6}
\end{excdesc}
\begin{excdesc}{error}