]> granicus.if.org Git - python/commitdiff
global _option_order is not used
authorJeremy Hylton <jeremy@alum.mit.edu>
Tue, 4 Jun 2002 20:35:10 +0000 (20:35 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Tue, 4 Jun 2002 20:35:10 +0000 (20:35 +0000)
Lib/distutils/fancy_getopt.py

index cb89e070d75e2469ad2c51fa297685e7e71dcc83..2ed29a24fd974d3afd4b2f04c9c00b0c40214d0b 100644 (file)
@@ -31,12 +31,6 @@ neg_alias_re = re.compile("^(%s)=!(%s)$" % (longopt_pat, longopt_pat))
 # (for use as attributes of some object).
 longopt_xlate = string.maketrans('-', '_')
 
-# This records (option, value) pairs in the order seen on the command line;
-# it's close to what getopt.getopt() returns, but with short options
-# expanded.  (Ugh, this module should be OO-ified.)
-_option_order = None
-
-
 class FancyGetopt:
     """Wrapper around the standard 'getopt()' module that provides some
     handy extra functionality: