From: Sergey Matveev Date: Tue, 2 Jan 2018 13:28:16 +0000 (+0300) Subject: Note about value removing from Sequence X-Git-Tag: 2.0^0 X-Git-Url: http://www.git.cypherpunks.ru/?p=pyderasn.git;a=commitdiff_plain;h=0602282ab60f6d203ca37f65006098a285154814;ds=sidebyside Note about value removing from Sequence --- diff --git a/pyderasn.py b/pyderasn.py index cc44e24..e6c7fef 100755 --- a/pyderasn.py +++ b/pyderasn.py @@ -3642,6 +3642,8 @@ class Sequence(Obj): >>> tbs = TBSCertificate() >>> tbs["version"] = Version("v2") # no need to explicitly add ``expl`` + Assign ``None`` to remove value from sequence. + You can know if value exists/set in the sequence and take its value: >>> "extnID" in ext, "extnValue" in ext, "critical" in ext