]> Cypherpunks.ru repositories - pyderasn.git/commitdiff
Explicitly mention about impl/expl class attributes
authorSergey Matveev <stargrave@stargrave.org>
Thu, 6 Feb 2020 11:31:00 +0000 (14:31 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 6 Feb 2020 13:35:05 +0000 (16:35 +0300)
pyderasn.py

index 6e32db54de851f5089b1ed042f75d57a408498ec..92c18240c923115b6bed263ccdd2a9a10d6d6193 100755 (executable)
@@ -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``