mirror of https://github.com/golang/go.git
codereview: restore help messages
Docstrings were not being set for the wrapper functions returned by the hgcommand decorator. R=golang-dev, minux.ma, rsc CC=golang-dev https://golang.org/cl/6059043
This commit is contained in:
parent
9a6cef8bbf
commit
d3889ff322
|
|
@ -1263,6 +1263,7 @@ def hgcommand(f):
|
||||||
if not err:
|
if not err:
|
||||||
return 0
|
return 0
|
||||||
raise hg_util.Abort(err)
|
raise hg_util.Abort(err)
|
||||||
|
wrapped.__doc__ = f.__doc__
|
||||||
return wrapped
|
return wrapped
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue