diff options
author | Ilya Etingof <etingof@gmail.com> | 2019-02-22 09:30:26 +0100 |
---|---|---|
committer | Ilya Etingof <etingof@gmail.com> | 2019-02-22 09:30:26 +0100 |
commit | da46736662eeee194ad7c31110df927e45e16ecf (patch) | |
tree | aa4eac7fc1927ef4d8594e9b6b45482e2bdcf7dd /pysnmp/hlapi/v3arch/asyncore | |
parent | a8f46fc66c236a35a041352422ab6a68387db31a (diff) | |
download | pysnmp-git-da46736662eeee194ad7c31110df927e45e16ecf.tar.gz |
Fix typos in the docstrings
Diffstat (limited to 'pysnmp/hlapi/v3arch/asyncore')
-rw-r--r-- | pysnmp/hlapi/v3arch/asyncore/ntforg.py | 2 | ||||
-rw-r--r-- | pysnmp/hlapi/v3arch/asyncore/sync/ntforg.py | 20 |
2 files changed, 11 insertions, 11 deletions
diff --git a/pysnmp/hlapi/v3arch/asyncore/ntforg.py b/pysnmp/hlapi/v3arch/asyncore/ntforg.py index 779c4246..7df0bc08 100644 --- a/pysnmp/hlapi/v3arch/asyncore/ntforg.py +++ b/pysnmp/hlapi/v3arch/asyncore/ntforg.py @@ -82,7 +82,7 @@ def sendNotification(snmpEngine, authData, transportTarget, contextData, properly formed SNMP notification (to comply MIB definition). If you build notification PDU out of :py:class:`~pysnmp.smi.rfc1902.ObjectType` objects or simple tuples of OID-value objects, it is your responsibility - to provide well-formed notificaton payload. + to provide well-formed notification payload. Other Parameters ---------------- diff --git a/pysnmp/hlapi/v3arch/asyncore/sync/ntforg.py b/pysnmp/hlapi/v3arch/asyncore/sync/ntforg.py index e334eefd..2cff18df 100644 --- a/pysnmp/hlapi/v3arch/asyncore/sync/ntforg.py +++ b/pysnmp/hlapi/v3arch/asyncore/sync/ntforg.py @@ -19,19 +19,19 @@ def sendNotification(snmpEngine, authData, transportTarget, contextData, Parameters ---------- - snmpEngine : :py:class:`~pysnmp.hlapi.SnmpEngine` + snmpEngine: :py:class:`~pysnmp.hlapi.SnmpEngine` Class instance representing SNMP engine. - authData : :py:class:`~pysnmp.hlapi.CommunityData` or :py:class:`~pysnmp.hlapi.UsmUserData` + authData: :py:class:`~pysnmp.hlapi.CommunityData` or :py:class:`~pysnmp.hlapi.UsmUserData` Class instance representing SNMP credentials. - transportTarget : :py:class:`~pysnmp.hlapi.asyncore.UdpTransportTarget` or :py:class:`~pysnmp.hlapi.asyncore.Udp6TransportTarget` + transportTarget: :py:class:`~pysnmp.hlapi.asyncore.UdpTransportTarget` or :py:class:`~pysnmp.hlapi.asyncore.Udp6TransportTarget` Class instance representing transport type along with SNMP peer address. - contextData : :py:class:`~pysnmp.hlapi.ContextData` + contextData: :py:class:`~pysnmp.hlapi.ContextData` Class instance representing SNMP ContextEngineId and ContextName values. - notifyType : str + notifyType: str Indicates type of notification to be sent. Recognized literal values are *trap* or *inform*. @@ -71,7 +71,7 @@ def sendNotification(snmpEngine, authData, transportTarget, contextData, properly formed SNMP notification (to comply MIB definition). If you build notification PDU out of :py:class:`~pysnmp.smi.rfc1902.ObjectType` objects or simple tuples of OID-value objects, it is your responsibility - to provide well-formed notificaton payload. + to provide well-formed notification payload. Other Parameters ---------------- @@ -81,13 +81,13 @@ def sendNotification(snmpEngine, authData, transportTarget, contextData, Yields ------ - errorIndication : str + errorIndication: str True value indicates SNMP engine error. - errorStatus : str + errorStatus: str True value indicates SNMP PDU error. - errorIndex : int + errorIndex: int Non-zero value refers to `varBinds[errorIndex-1]` - varBinds : tuple + varBinds: tuple A sequence of :py:class:`~pysnmp.smi.rfc1902.ObjectType` class instances representing MIB variables returned in SNMP response. |