diff mercurial/hg.py @ 43807:be8552f25cab

cleanup: fix docstring formatting This is just removing the b'' prefix (except demandimportpy2), and making sure it is triple quoted. I skipped the mapping.py module in zope because that's 3rd party code. Differential Revision: https://phab.mercurial-scm.org/D7539
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 01 Dec 2019 18:46:10 -0500
parents 101ae8bbfa02
children a61287a95dc3
line wrap: on
line diff
--- a/mercurial/hg.py	Wed Nov 13 20:42:13 2019 +0100
+++ b/mercurial/hg.py	Sun Dec 01 18:46:10 2019 -0500
@@ -1345,7 +1345,7 @@
 
 
 def remoteui(src, opts):
-    b'build a remote ui from ui or repo and opts'
+    """build a remote ui from ui or repo and opts"""
     if util.safehasattr(src, b'baseui'):  # looks like a repository
         dst = src.baseui.copy()  # drop repo-specific config
         src = src.ui  # copy target options from repo