Исправлена ошибка в объекте

master-3.5 3.5.0_alpha11
parent fbb31ea060
commit fb0bba1509

@ -1803,3 +1803,4 @@ class CustomButton(object):
@classmethod
def setvalue(cls, variable=None, value=None):
return "%s!=%s" % (variable, value)

@ -40,6 +40,8 @@ class GotErrorField(Exception):
class BoolAction(argparse.Action):
reTrue = re.compile("^(?:on)$", re.I)
reFalse = re.compile("^(?:off)$", re.I)
available_values = ("on", "off")
def __init__(self, option_strings, dest, nargs="?",

Loading…
Cancel
Save