diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-12-09 10:59:11 -0500 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-12-09 10:59:11 -0500 |
commit | 2a0da34c131bbe1c8633875956b4cb28187b4f66 (patch) | |
tree | 2c0ef8e1b674836f031946d288d9149dba8e9a5f | |
parent | 47cbc4fe3fe561999870d660347e8b587b3e1077 (diff) | |
download | six-2a0da34c131bbe1c8633875956b4cb28187b4f66.tar.gz |
use positional arguments in call
-rw-r--r-- | six.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -729,9 +729,7 @@ if sys.version_info[0:2] < (3, 4): def wraps(wrapped, assigned=functools.WRAPPER_ASSIGNMENTS, updated=functools.WRAPPER_UPDATES): def wrapper(f): - f = functools.wraps(wrapped, - assigned=assigned, - updated=updated)(f) + f = functools.wraps(wrapped, assigned, updated)(f) f.__wrapped__ = wrapped return f return wrapper |