Пример #1
0
 def fset(self, value):
     if not isinstance(value, int):
         raise TypeError("Verbosity must be set to an integer")
     if value not in [0, 1, 2, 3, 4, 5, 6]:
         raise ValueError(
             "Verbosity levels can be any integer between 0 and 6 inclusive"
         )
     clg.parse_options_set_verbosity(self._po, value)
Пример #2
0
def parse_options_set_verbosity(*args) -> "void" :
  return _clinkgrammar.parse_options_set_verbosity(*args)
Пример #3
0
def parse_options_set_verbosity(*args):
  return _clinkgrammar.parse_options_set_verbosity(*args)
Пример #4
0
 def fset(self, value):
     if not isinstance(value, int):
         raise TypeError("Verbosity must be set to an integer")
     if value not in [0, 1, 2, 3, 4, 5, 6]:
         raise ValueError("Verbosity levels can be any integer between 0 and 6 inclusive")
     clg.parse_options_set_verbosity(self._po, value)
Пример #5
0
def parse_options_set_verbosity(opts, verbosity):
    return _clinkgrammar.parse_options_set_verbosity(opts, verbosity)
Пример #6
0
def parse_options_set_verbosity(opts: 'Parse_Options',
                                verbosity: 'int') -> "void":
    return _clinkgrammar.parse_options_set_verbosity(opts, verbosity)