etingof / pysnmp

Python SNMP library
http://snmplabs.com/pysnmp/
BSD 2-Clause "Simplified" License
582 stars 200 forks source link

addAsn1MibSource Documentation error #362

Open dschultzca opened 4 years ago

dschultzca commented 4 years ago

In the Library documentation all three examples showing how to use this method indicate a different method name "addAsn1Source".
This may have caused the confusion in issue #62

>>> ObjectIdentity('SNMPv2-MIB', 'sysDescr').addAsn1Source('http://mibs.snmplabs.com/asn1/@mib@')
>>> ObjectIdentity('SNMPv2-MIB', 'sysDescr')
lextm commented 1 year ago

Fixed this doc issue in https://www.pysnmp.com/pysnmp/docs/api-reference