summaryrefslogtreecommitdiff
path: root/argparse.py
diff options
context:
space:
mode:
Diffstat (limited to 'argparse.py')
-rw-r--r--argparse.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/argparse.py b/argparse.py
index bfd6127..3bdcd33 100644
--- a/argparse.py
+++ b/argparse.py
@@ -96,6 +96,10 @@ except NameError:
# for python < 2.4 compatibility (sets module is there since 2.3):
from sets import Set as set
+try:
+ basestring
+except NameError:
+ basestring = str
try:
sorted