• R. David Murray's avatar
    Merged revisions 83675 via svnmerge from · 1cbf78e0
    R. David Murray yazdı
    svn+ssh://pythondev@svn.python.org/python/branches/py3k
    
    ........
      r83675 | r.david.murray | 2010-08-03 13:56:09 -0400 (Tue, 03 Aug 2010) | 12 lines
    
      #9444: use first of prefix_chars for help opt instead of raising error
    
      An argparse option parser created with a prefix_chars that did not
      include a '-' would happily add -h and --help options, and then throw
      an error when it tried to format the help because the - was an invalid
      prefix character.  This patch makes it use the first character of
      prefix_chars as the character for the help options if and only if '-'
      is not one of the valid prefix_chars.
    
      Fix by Theodore Turocy, unit tests by Catherine Devlin.
    ........
    1cbf78e0
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.bzrignore Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...