Function __init__

Synopsis

def __init__(self, value, strict)

Description

No description yet.

Source

Lines 109-115 in anyfig/fields.py.

def __init__(self, value, strict):
  if strict:
    super().__init__(tests=lambda v: v is value)
  else:
    super().__init__(tests=lambda v: v == value)
  self.value = value





Add Discussion as Guest

Log in