summaryrefslogtreecommitdiffstats
path: root/Lib/optparse.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-11-14 12:46:42 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-11-14 12:46:42 (GMT)
commit19e69c5a2067fe6322ead88733ebbca77673010b (patch)
treea16cdb8e1d9e80a4c47d8aa0702cc616afb1d3ea /Lib/optparse.py
parentd226d308a3856e67c654ff3d5924be6d24568388 (diff)
downloadcpython-19e69c5a2067fe6322ead88733ebbca77673010b.zip
cpython-19e69c5a2067fe6322ead88733ebbca77673010b.tar.gz
cpython-19e69c5a2067fe6322ead88733ebbca77673010b.tar.bz2
Issue #23883: Add missing APIs to __all__; patch by Jacek KoƂodziej
Diffstat (limited to 'Lib/optparse.py')
-rw-r--r--Lib/optparse.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/optparse.py b/Lib/optparse.py
index 432a2eb..d239ea2 100644
--- a/Lib/optparse.py
+++ b/Lib/optparse.py
@@ -38,7 +38,8 @@ __all__ = ['Option',
'OptionError',
'OptionConflictError',
'OptionValueError',
- 'BadOptionError']
+ 'BadOptionError',
+ 'check_choice']
__copyright__ = """
Copyright (c) 2001-2006 Gregory P. Ward. All rights reserved.