Permalink
Browse files

fix docstring

  • Loading branch information...
1 parent 72ab574 commit 001018119c5c74ade4e160b67fdc6479a75b8278 @mcdonc mcdonc committed Aug 21, 2011
Showing with 1 addition and 4 deletions.
  1. +1 −4 pyramid_handlers/__init__.py
@@ -18,10 +18,7 @@ def add_handler(self, route_name, pattern, handler, action=None, **kw):
``route_name`` is the name of the route (to be used later in
URL generation).
- ``pattern`` is the matching pattern,
- e.g. ``'/blog/{action}'``. ``pattern`` may be ``None``, in
- which case the pattern of an existing route named the same as
- ``route_name`` is used.
+ ``pattern`` is the matching pattern, e.g. ``'/blog/{action}'``.
``handler`` is a dotted name of (or direct reference to) a
Python handler class,

0 comments on commit 0010181

Please sign in to comment.