From 0602282ab60f6d203ca37f65006098a285154814 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Tue, 2 Jan 2018 16:28:16 +0300 Subject: [PATCH] Note about value removing from Sequence --- pyderasn.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.44.0