From 8b8c7004e1915ec64240e9860d8169b15155268b Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Thu, 6 Feb 2020 14:31:00 +0300 Subject: [PATCH] Explicitly mention about impl/expl class attributes --- pyderasn.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pyderasn.py b/pyderasn.py index 6e32db5..92c1824 100755 --- a/pyderasn.py +++ b/pyderasn.py @@ -65,10 +65,11 @@ ____ Most types in ASN.1 has specific tag for them. ``Obj.tag_default`` is the default tag used during coding process. You can override it with -either ``IMPLICIT`` (using ``impl`` keyword argument), or -``EXPLICIT`` one (using ``expl`` keyword argument). Both arguments take -raw binary string, containing that tag. You can **not** set implicit and -explicit tags simultaneously. +either ``IMPLICIT`` (using either ``impl`` keyword argument or ``impl`` +class attribute), or ``EXPLICIT`` one (using either ``expl`` keyword +argument or ``expl`` class attribute). Both arguments take raw binary +string, containing that tag. You can **not** set implicit and explicit +tags simultaneously. There are :py:func:`pyderasn.tag_ctxp` and :py:func:`pyderasn.tag_ctxc` functions, allowing you to easily create ``CONTEXT`` -- 2.44.0