• Raymond Hettinger's avatar
    SF bug #729096: getopt online documentation example improvement · 6e887bb0
    Raymond Hettinger yazdı
    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.
    
    Backport candidate.
    6e887bb0
libgetopt.tex 5.41 KB