..
[ncclient] / docs / source / index.rst
index 2c6e3b5..64fe8a1 100644 (file)
@@ -1,7 +1,7 @@
 Welcome
 =======
 
-``ncclient`` is a Python library for NETCONF clients. It aims to offer an intuitive API that sensibly maps the XML-encoded nature of NETCONF to Python constructs and idioms, and make writing network-management scripts easier. Other key features are:
+`ncclient` is a Python library for NETCONF clients. It aims to offer an intuitive API that sensibly maps the XML-encoded nature of NETCONF to Python constructs and idioms, and make writing network-management scripts easier. Other key features are:
 
 * Supports all operations and capabilities defined in :rfc:`4741`.
 * Request pipelining.
@@ -11,13 +11,13 @@ Welcome
 
 It is suitable for Python 2.6+ (not Python 3 yet, though), and depends on `paramiko <http://www.lag.net/paramiko/>`_, an SSH library.
 
-The best way to introduce is of course, through a simple code example::
+The best way to introduce is through a simple code example::
 
     from ncclient import manager
 
     # use unencrypted keys from ssh-agent or ~/.ssh keys, and rely on known_hosts
     with manager.connect_ssh("host", username="user") as m:
-        assert(":url" in manager.server_capabilities)
+        assert(":url" in m.server_capabilities)
         with m.locked("running"):
             m.copy_config(source="running", target="file:///new_checkpoint.conf")
             m.copy_config(source="file:///old_checkpoint.conf", target="running")
@@ -28,7 +28,6 @@ Contents:
     
     manager
     api
-    extending
 
 Indices and tables
 ------------------