Skip to content

Latest commit

 

History

History
53 lines (32 loc) · 1.29 KB

decorator.rst

File metadata and controls

53 lines (32 loc) · 1.29 KB

xoutil.decorator - Several decorators

xoutil.decorator

This module contains several useful decorators, for several purposed. Also it severs as a namespace for other well-defined types of decorators.

Warning

This modules will be progressively deprecated during the 1.6 series.

We feel that either xoutil.objects or xoutil.functools are a better match for some of these decorators. But since we need to make sure about keeping dependencies, the deprecation won't be final until 1.7.0. After 1.8.0, this modules will be finally removed.

Top-level decorators

AttributeAlias

settle

namer

aliases

assignment_operator(func, maybe_inline=False)

instantiate(target, args,*kwargs)

constant_bagger(func, args,*kwds)

memoized_instancemethod

Deprecated alias of xoutil.objects.memoized_property.

1.8.1 Deprecated in favor of xoutil.objects.memoized_property.

Sub packages

decorator/*