summaryrefslogtreecommitdiff
path: root/Lib/distutils/fancy_getopt.py
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2002-06-04 20:35:10 +0000
committerJeremy Hylton <jeremy@alum.mit.edu>2002-06-04 20:35:10 +0000
commitb1abd88c9cccf8fbf5a4ce807583b1ed333e5b32 (patch)
tree1bf0fe2516caf1f8c956551014cd03d554aea795 /Lib/distutils/fancy_getopt.py
parentfddfdd2010d1779a7b0f336abfe3211d2306ad5a (diff)
downloadcpython-b1abd88c9cccf8fbf5a4ce807583b1ed333e5b32.tar.gz
global _option_order is not used
Diffstat (limited to 'Lib/distutils/fancy_getopt.py')
-rw-r--r--Lib/distutils/fancy_getopt.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/distutils/fancy_getopt.py b/Lib/distutils/fancy_getopt.py
index cb89e070d7..2ed29a24fd 100644
--- a/Lib/distutils/fancy_getopt.py
+++ b/Lib/distutils/fancy_getopt.py
@@ -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: