Ignore:
Timestamp:
Mar 19, 2014, 11:11:30 AM (11 years ago)
Author:
dmik
Message:

python: Update vendor to 2.7.6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/vendor/current/Lib/optparse.py

    r2 r388  
    814814            parser.exit()
    815815        else:
    816             raise RuntimeError, "unknown action %r" % self.action
     816            raise ValueError("unknown action %r" % self.action)
    817817
    818818        return 1
     
    11321132        the name of the current program (to override
    11331133        os.path.basename(sys.argv[0])).
     1134      description : string
     1135        A paragraph of text giving a brief overview of your program.
     1136        optparse reformats this paragraph to fit the current terminal
     1137        width and prints it when the user requests help (after usage,
     1138        but before the list of options).
    11341139      epilog : string
    11351140        paragraph of help text to print after option help
     
    14671472
    14681473        Determine which long option string 'opt' matches, ie. which one
    1469         it is an unambiguous abbrevation for.  Raises BadOptionError if
     1474        it is an unambiguous abbreviation for.  Raises BadOptionError if
    14701475        'opt' doesn't unambiguously match any long option string.
    14711476        """
Note: See TracChangeset for help on using the changeset viewer.