summaryrefslogtreecommitdiff
path: root/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
commit8c19b0c4ec29c8daa3aceddcaabf7ec0f86ed12e (patch)
tree79f3d6e8677a29075c4e85dcd9e5e4e16391629f /fancy_getopt.py
parentc7cb56da7ee4c7f2a29d32f6a15c6e838708419e (diff)
downloadpython-setuptools-git-8c19b0c4ec29c8daa3aceddcaabf7ec0f86ed12e.tar.gz
global _option_order is not used
Diffstat (limited to 'fancy_getopt.py')
-rw-r--r--fancy_getopt.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/fancy_getopt.py b/fancy_getopt.py
index cb89e070..2ed29a24 100644
--- a/fancy_getopt.py
+++ b/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: