Commit Graph

1 Commits

Author SHA1 Message Date
zangrc
8f87c3d3c2 python3-decorator: upgrade 5.0.9 -> 5.1.0
Added a function `decoratorx` using the `FunctionMaker` and thus
preserving the signature of `__code__` objects. Then fixed three small bugs:
- Sphinx was printing a few warnings when building the documentation, as
  signaled by Tomasz Kłoczko
- functions decorated with `decorator.contextmanager` were one-shot,
  as discovered by Alex Pizarro.
- `decorator.decorator` was not passing the kwsyntax argument.

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-09-17 08:36:19 -07:00