diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-03-28 14:30:49 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-03-28 14:30:49 +0800 |
commit | f36fc889cfc92f50a4f053661f9ea841e4a5b045 (patch) | |
tree | a9bb8b0811ab6325192d42d737fea04de4ca7572 /prototypes/xci | |
parent | ef3543d93a806489c6b71c021bf457a1fe93e894 (diff) |
keep methods' name/docstring after decorator
applying functools.wraps() to keep the name and docstring
of the original function which is decorated
Change-Id: Id612039921566dd48f8d8797abe30f23aaf99301
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'prototypes/xci')
0 files changed, 0 insertions, 0 deletions