Exemple #1
0
 def __init__(self, *args):
     _ruleset_stack.append(self)
     super(none, self).__init__('none', True, *args)
     _ruleset_stack.pop()
Exemple #2
0
 def __exit__(self, exc_type, exc_value, traceback):
     _ruleset_stack.pop()
Exemple #3
0
 def __init__(self, *args):
     _ruleset_stack.append(self)
     super(any, self).__init__('any', True, *args)
     _ruleset_stack.pop()