diff options
| -rw-r--r-- | pyramid/config.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pyramid/config.py b/pyramid/config.py index 5008e42fb..0891ce6df 100644 --- a/pyramid/config.py +++ b/pyramid/config.py @@ -2604,8 +2604,6 @@ def _make_predicates(xhr=None, request_method=None, path_info=None, if custom: for num, predicate in enumerate(custom): - if not hasattr(predicate, '__doc__'): - predicate.__doc__ = "custom predicate" predicates.append(predicate) # using hash() here rather than id() is intentional: we # want to allow custom predicates that are part of |
