forked from pool/python-decorator
Accepting request 597431 from home:jengelh:branches:devel:languages:python
- Ensure neutrality of description. OBS-URL: https://build.opensuse.org/request/show/597431 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=36
This commit is contained in:
committed by
Git OBS Bridge
parent
5f401a9f10
commit
818cab24cf
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 17 11:05:41 UTC 2018 - jengelh@inai.de
|
||||
|
||||
- Ensure neutrality of description.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 17 01:52:09 UTC 2018 - arun@gmx.de
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
Name: python-decorator
|
||||
Version: 4.3.0
|
||||
Release: 0
|
||||
Summary: Better living through Python with decorators
|
||||
Summary: Non-nested signature-retaining Python decorators
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: http://pypi.python.org/pypi/decorator
|
||||
@@ -34,16 +34,13 @@ BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
As of now, writing custom decorators correctly requires some experience and it
|
||||
is not as easy as it could be. For instance, typical implementations of
|
||||
decorators involve nested functions, and we all know that flat is better than
|
||||
nested. Moreover, typical implementations of decorators do not preserve the
|
||||
signature of decorated functions, thus confusing both documentation tools and
|
||||
developers.
|
||||
Typical implementations of Python decorators involve nested
|
||||
functions, and do not preserve the signature of decorated functions,
|
||||
thus can be confusing to both developers and documentation tools.
|
||||
|
||||
The aim of the decorator module it to simplify the usage of decorators for the
|
||||
average programmer, and to popularize decorators usage giving examples of
|
||||
useful decorators, such as memoize, tracing, redirecting_stdout, locked, etc.
|
||||
This module changes the usage of decorators for the average
|
||||
programmer so as to make decorators such as memoize, tracing,
|
||||
redirecting_stdout, locked, etc. more accessible.
|
||||
|
||||
%prep
|
||||
%setup -q -n decorator-%{version}
|
||||
|
||||
Reference in New Issue
Block a user