From 9ebd0c0fab207c02f2046a1d221f147aa69c6c26 Mon Sep 17 00:00:00 2001 From: Ilya Etingof Date: Fri, 26 Oct 2018 08:44:06 +0200 Subject: Expose ASN.1 `Null` type through `rfc1902` module --- docs/source/docs/api-reference.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'docs') diff --git a/docs/source/docs/api-reference.rst b/docs/source/docs/api-reference.rst index 2d0d9d42..1ede28ce 100644 --- a/docs/source/docs/api-reference.rst +++ b/docs/source/docs/api-reference.rst @@ -441,6 +441,20 @@ data description language. PySNMP types are derived from .. toctree:: :maxdepth: 2 +.. _null: + +Null type ++++++++++ + +.. autoclass:: pysnmp.proto.rfc1902.Null(initializer) + :members: + +.. note:: + + The `NULL` type actually belongs to the base ASN.1 types. It is not defined + in :RFC:`1902#section-2` as an SNMP type. The `Null` type is exposed through + `rfc1902` module just for convenience. + .. _integer32: Integer32 type -- cgit v1.2.1