Mercurial > public > mercurial-scm > hg-stable
diff mercurial/wireproto.py @ 27243:3abee2ba27af
wireproto: add docstring for wirepeer
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Fri, 04 Dec 2015 13:15:14 -0800 |
parents | d7e5e4da8394 |
children | b288fb2724bf |
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)