Staging
v0.5.0
https://github.com/python/cpython
Revision 9b88e1587f7c0b9119c8ba2a11f9d4855f14aa0c authored by Raymond Hettinger on 29 April 2003, 04:37:13 UTC, committed by Raymond Hettinger on 29 April 2003, 04:37:13 UTC
A newbie found it difficult to translate the exampe into a
case that used only short options or long options but not both.
He tried to shorten the tuple search but forgot the trailing comma,
The appropriate pattern is an equality check.

Revised the example to point him in the right direction.
1 parent 971f0f0
History
Tip revision: 9b88e1587f7c0b9119c8ba2a11f9d4855f14aa0c authored by Raymond Hettinger on 29 April 2003, 04:37:13 UTC
SF bug #729096: getopt online documentation example improvement
Tip revision: 9b88e15
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.cvsignore -rw-r--r-- 109 bytes
.hgtags -rw-r--r-- 2.4 KB
LICENSE -rw-r--r-- 12.3 KB
Makefile.pre.in -rw-r--r-- 25.9 KB
PLAN.txt -rw-r--r-- 14.1 KB
README -rw-r--r-- 42.5 KB
acconfig.h -rw-r--r-- 7.5 KB
configure -rwxr-xr-x 211.1 KB
configure.in -rw-r--r-- 55.9 KB
install-sh -rwxr-xr-x 5.5 KB
pyconfig.h.in -rw-r--r-- 19.7 KB
setup.py -rw-r--r-- 35.3 KB

README

back to top