diff options
| author | Chris McDonough <chrism@agendaless.com> | 2010-09-06 00:20:54 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2010-09-06 00:20:54 +0000 |
| commit | 3b002a7b2515375e283fce953c20be823f24a224 (patch) | |
| tree | beac74e71d47ba713fc45b87bc588d1a73e5510e /docs/narr | |
| parent | eb7ea411bfce55085449b79ac88aac19af0e232f (diff) | |
| download | pyramid-3b002a7b2515375e283fce953c20be823f24a224.tar.gz pyramid-3b002a7b2515375e283fce953c20be823f24a224.tar.bz2 pyramid-3b002a7b2515375e283fce953c20be823f24a224.zip | |
renderings
Diffstat (limited to 'docs/narr')
| -rw-r--r-- | docs/narr/events.rst | 2 | ||||
| -rw-r--r-- | docs/narr/hooks.rst | 4 | ||||
| -rw-r--r-- | docs/narr/i18n.rst | 4 | ||||
| -rw-r--r-- | docs/narr/urldispatch.rst | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/docs/narr/events.rst b/docs/narr/events.rst index 35e4120dc..a965a2765 100644 --- a/docs/narr/events.rst +++ b/docs/narr/events.rst @@ -58,7 +58,7 @@ need to use ZCML for the same purpose: The first argument to :meth:`repoze.bfg.configuration.Configurator.add_subscriber` is the - subscriber function (or a :term:`Python dotted name` which refers + subscriber function (or a :term:`dotted Python name` which refers to a subscriber callable); the second argument is the event type. .. topic:: Configuring an Event Listener Through ZCML diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst index b774c2012..b00fc6727 100644 --- a/docs/narr/hooks.rst +++ b/docs/narr/hooks.rst @@ -352,7 +352,7 @@ The class (aka "factory") that :mod:`repoze.bfg` uses to create a request object instance can be changed by passing a ``request_factory`` argument to the constructor of the :term:`configurator`. This argument can be either a callable or a -:term:`Python dotted name` representing a callable. +:term:`dotted Python name` representing a callable. .. code-block:: python :linenos: @@ -413,7 +413,7 @@ renderer. A callback that :mod:`repoze.bfg` will call every time a renderer is invoked can be added by passing a ``renderer_globals_factory`` argument to the constructor of the :term:`configurator`. This -callback can either be a callable object or a :term:`Python dotted +callback can either be a callable object or a :term:`dotted Python name` representing such a callable. .. code-block:: python diff --git a/docs/narr/i18n.rst b/docs/narr/i18n.rst index f456fe03c..cab327bb8 100644 --- a/docs/narr/i18n.rst +++ b/docs/narr/i18n.rst @@ -1013,8 +1013,8 @@ configuration using either imperative configuration or ZCML. .. topic:: Using Imperative Configuration - Pass an object which can act as the negotiator (or a :term:`Python - dotted name` referring to the object) as the ``locale_negotiator`` + Pass an object which can act as the negotiator (or a :term:`dotted + Python name` referring to the object) as the ``locale_negotiator`` argument of the :class:`repoze.bfg.configuration.Configurator` instance during application startup. diff --git a/docs/narr/urldispatch.rst b/docs/narr/urldispatch.rst index 9779113e5..7c8bb7ce6 100644 --- a/docs/narr/urldispatch.rst +++ b/docs/narr/urldispatch.rst @@ -448,8 +448,8 @@ represent neither predicates nor view configuration information. application. ``factory`` - A Python object (often a function or a class) or a :term:`Python - dotted name` to such an object that will generate a + A Python object (often a function or a class) or a :term:`dotted + Python name` to such an object that will generate a :mod:`repoze.bfg` :term:`context` object when this route matches. For example, ``mypackage.models.MyFactoryClass``. If this argument is not specified, the traversal root factory will be used. |
