Mercurial > public > mercurial-scm > hg
comparison mercurial/dispatch.py @ 43787: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 | ac8fd215a776 |
children | 6b90f5c89cb4 |
comparison
equal
deleted
inserted
replaced
43786:421ea5772039 | 43787:be8552f25cab |
---|---|
100 if exc is not None: | 100 if exc is not None: |
101 raise exc | 101 raise exc |
102 | 102 |
103 | 103 |
104 def run(): | 104 def run(): |
105 b"run the command in sys.argv" | 105 """run the command in sys.argv""" |
106 initstdio() | 106 initstdio() |
107 with tracing.log('parse args into request'): | 107 with tracing.log('parse args into request'): |
108 req = request(pycompat.sysargv[1:]) | 108 req = request(pycompat.sysargv[1:]) |
109 err = None | 109 err = None |
110 try: | 110 try: |