Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, **kwargs):
Option.__init__(
self,
"bool",
customValue=False,
values=[False, True],
**kwargs,
)
def __init__(self, customValue=True, values=None, **kwargs):
if values is None:
values = [
"\r\n",
"\n",
"\r",
]
Option.__init__(
self,
"str",
customValue=customValue,
values=values,
**kwargs
)
def __init__(self, **kwargs):
Option.__init__(self, "str", customValue=True, **kwargs)
# FIXME: use a specific type?
def __init__(self, **kwargs):
Option.__init__(
self,
"list",
customValue=True,
**kwargs,
)
def __init__(self, **kwargs):
Option.__init__(self, "str", **kwargs)
def __init__(self, **kwargs):
Option.__init__(
self,
"dict",
customValue=True,
**kwargs,
)
def __init__(self, **kwargs):
Option.__init__(self, "float", **kwargs)
"mac_greek",
"mac_iceland",
"mac_latin2",
"mac_roman",
"mac_turkish",
"cyrillic",
"arabic",
"greek",
"hebrew",
"latin2",
"latin3",
"latin4",
"latin5",
"latin6",
]
Option.__init__(
self,
"str",
customValue=customValue,
values=values,
**kwargs
)
def __init__(self, **kwargs):
Option.__init__(self, "int", **kwargs)