mirror of
https://github.com/python/cpython.git
synced 2025-07-31 07:04:42 +00:00
Reverting the Revision: 77368. I committed Flox's big patch for tests by
mistake. ( It may come in for sure tough)
This commit is contained in:
parent
3ddc435af6
commit
ce8e33a095
107 changed files with 436 additions and 794 deletions
|
@ -26,6 +26,12 @@ from optparse import make_option, Option, IndentedHelpFormatter, \
|
|||
from optparse import _match_abbrev
|
||||
from optparse import _parse_num
|
||||
|
||||
# Do the right thing with boolean values for all known Python versions.
|
||||
try:
|
||||
True, False
|
||||
except NameError:
|
||||
(True, False) = (1, 0)
|
||||
|
||||
retype = type(re.compile(''))
|
||||
|
||||
class InterceptedError(Exception):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue