From: Fred Drake Date: Wed, 18 Apr 2001 03:18:57 +0000 (+0000) Subject: Add note about the version in which GetoptError was added -- this can X-Git-Tag: v2.2a3~2011 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=293f77af6f9ceb96e527c17e0a7a72882d7680b2;p=thirdparty%2FPython%2Fcpython.git Add note about the version in which GetoptError was added -- this can bite people interested in 1.5.2 compatibility. --- diff --git a/Doc/lib/libgetopt.tex b/Doc/lib/libgetopt.tex index c96c3cfff4a0..fff30430e09c 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}