diff options
author | Ilya Etingof <etingof@gmail.com> | 2017-03-18 13:23:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-18 13:23:38 +0100 |
commit | 708062acdea970883a7c7de465f719451012ad6f (patch) | |
tree | 81d0a591d191278dd8bdd9706038d7071483c6b0 /docs | |
parent | 010e34e40a8eaf142e8393eab6f29a467fe8fa92 (diff) | |
download | pysnmp-git-708062acdea970883a7c7de465f719451012ad6f.tar.gz |
More twisted examples (#47)
* twisted inline callback example
Diffstat (limited to 'docs')
-rw-r--r-- | docs/source/examples/hlapi/twisted/agent/ntforg/common-notifications.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/source/examples/hlapi/twisted/agent/ntforg/common-notifications.rst b/docs/source/examples/hlapi/twisted/agent/ntforg/common-notifications.rst index efbc2d37..61d8b3f5 100644 --- a/docs/source/examples/hlapi/twisted/agent/ntforg/common-notifications.rst +++ b/docs/source/examples/hlapi/twisted/agent/ntforg/common-notifications.rst @@ -14,4 +14,14 @@ Common notifications :download:`Download</../../examples/hlapi/twisted/agent/ntforg/default-v1-trap.py>` script. +.. include:: /../../examples/hlapi/twisted/agent/ntforg/v2c-trap-inline-callbacks.py + :start-after: """ + :end-before: """# + +.. literalinclude:: /../../examples/hlapi/twisted/agent/ntforg/v2c-trap-inline-callbacks.py + :start-after: """# + :language: python + +:download:`Download</../../examples/hlapi/twisted/agent/ntforg/v2c-trap-inline-callbacks.py>` script. + See also: :doc:`library reference </docs/api-reference>`. |