diff options
Diffstat (limited to 'pyasn1/type/constraint.py')
-rw-r--r-- | pyasn1/type/constraint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyasn1/type/constraint.py b/pyasn1/type/constraint.py index a704331..15b887d 100644 --- a/pyasn1/type/constraint.py +++ b/pyasn1/type/constraint.py @@ -352,7 +352,7 @@ class InnerTypeConstraint(AbstractConstraint): if idx not in self.__multipleTypeConstraint: raise error.ValueConstraintError(value) constraint, status = self.__multipleTypeConstraint[idx] - if status == 'ABSENT': # XXX presense is not checked! + if status == 'ABSENT': # XXX presence is not checked! raise error.ValueConstraintError(value) constraint(value) |