# HG changeset patch # User Gregory Szorc # Date 2015-12-04 21:15:14 # Node ID 3abee2ba27afe20911ecab59a00aa8528b979284 # Parent 58f473908951593e5934e31d4481ef4ee0b66d9f wireproto: add docstring for wirepeer diff --git a/mercurial/wireproto.py b/mercurial/wireproto.py --- a/mercurial/wireproto.py +++ b/mercurial/wireproto.py @@ -166,7 +166,13 @@ gboptsmap = {'heads': 'nodes', # 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)