Revision dd8b8dd7 ncclient/operations/lock.py

b/ncclient/operations/lock.py
27 27
    "*<lock>* RPC"
28 28
    
29 29
    def request(self, target):
30
        """
31
        :arg target: see :ref:`source_target`
32
        :type target: string
33

  
34
        :rtype: :ref:`return`
35
        """
36 30
        node = new_ele("lock")
37 31
        sub_ele(sub_ele(node, "target"), "running")
38 32
        return self._request(node)
......
43 37
    "*<unlock>* RPC"
44 38
    
45 39
    def request(self, target):
46
        """
47
        :arg target: see :ref:`source_target`
48
        :type target: string
49

  
50
        :rtype: :ref:`return`
51
        """
52 40
        node = new_ele("unlock")
53 41
        sub_ele(sub_ele(node, "target"), "running")
54 42
        return self._request(node)
......
61 49
    
62 50
    RPC errors are always raised as exceptions.
63 51
    
64
    Initialise with session instance (:class:`Session
65
    <ncclient.transport.Session>`) and lock target (:ref:`source_target`)
52
    Initialise with (:class:`Session <ncclient.transport.Session>`) instance
53
    and lock target.
66 54
    """
67 55

  
68 56
    def __init__(self, session, target):

Also available in: Unified diff