diff options
author | Ilya Etingof <ietingof@redhat.com> | 2017-02-02 11:06:29 +0100 |
---|---|---|
committer | Ilya Etingof <ietingof@redhat.com> | 2017-02-02 11:06:29 +0100 |
commit | 48e0be3ce60efd4f27a2a388a34e28579df33b29 (patch) | |
tree | bf4d29aa2e263228de9ddae60267b45bac48f004 | |
parent | 38fe0d1895bcca078f16ec867bd1570b9d31b7c8 (diff) | |
download | pysnmp-git-48e0be3ce60efd4f27a2a388a34e28579df33b29.tar.gz |
added a note into TextualConvention doc
-rw-r--r-- | pysnmp/smi/mibs/SNMPv2-TC.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pysnmp/smi/mibs/SNMPv2-TC.py b/pysnmp/smi/mibs/SNMPv2-TC.py index 2c4edb73..cc6184a8 100644 --- a/pysnmp/smi/mibs/SNMPv2-TC.py +++ b/pysnmp/smi/mibs/SNMPv2-TC.py @@ -194,7 +194,10 @@ class TextualConvention: Proper parsing seems impossible due to ambiguities. Here we are truing to do our best, but be prepared - for failures on complicated DISPLAY-HINTs + for failures on complicated DISPLAY-HINTs. + + Keep in mind that this parser only works with "text" + input meaning `unicode` (Py2) or `str` (Py3). """ for base in inspect.getmro(self.__class__): if base != self.__class__ and issubclass(base, Asn1Item): |