changeset 27243:3abee2ba27af

wireproto: add docstring for wirepeer
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 04 Dec 2015 13:15:14 -0800
parents 58f473908951
children 709977a4fc9d
files mercurial/wireproto.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)