diff options
| author | Michael Merickel <michael@merickel.org> | 2015-02-16 23:02:43 -0600 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2015-02-16 23:02:43 -0600 |
| commit | 2f0ba093f1bd50fd43e0a55f244b90d1fe50ff19 (patch) | |
| tree | 0aa94b5b8247fc484f092b2c45d19116276b7bdf | |
| parent | 46bc7fd9e221a084ca2f4d0cb8b158d2e239c373 (diff) | |
| download | pyramid-2f0ba093f1bd50fd43e0a55f244b90d1fe50ff19.tar.gz pyramid-2f0ba093f1bd50fd43e0a55f244b90d1fe50ff19.tar.bz2 pyramid-2f0ba093f1bd50fd43e0a55f244b90d1fe50ff19.zip | |
docstring on apply_properties
| -rw-r--r-- | pyramid/util.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pyramid/util.py b/pyramid/util.py index 63d113361..5721a93fc 100644 --- a/pyramid/util.py +++ b/pyramid/util.py @@ -78,6 +78,9 @@ class InstancePropertyHelper(object): @classmethod def apply_properties(cls, target, properties): + """Accept a list or dict of ``properties`` generated from + :meth:`.make_property` and apply them to a ``target`` object. + """ attrs = dict(properties) if attrs: parent = target.__class__ |
