wireproto: add docstring for wirepeer
authorGregory Szorc <gregory.szorc@gmail.com>
Fri, 04 Dec 2015 13:15:14 -0800
changeset 27243 3abee2ba27af
parent 27242 58f473908951
child 27244 709977a4fc9d
wireproto: add docstring for wirepeer
mercurial/wireproto.py
--- a/mercurial/wireproto.py	Fri Dec 04 15:24:05 2015 -0500
+++ b/mercurial/wireproto.py	Fri Dec 04 13:15:14 2015 -0800
@@ -166,7 +166,13 @@
 # client side
 
 class wirepeer(peer.peerrepository):
+    """Client-side interface for communicating with a peer repository.
 
+    Methods commonly call wire protocol commands of the same name.
+
+    See also httppeer.py and sshpeer.py for protocol-specific
+    implementations of this interface.
+    """
     def batch(self):
         if self.capable('batch'):
             return remotebatch(self)