From 3b002a7b2515375e283fce953c20be823f24a224 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 6 Sep 2010 00:20:54 +0000 Subject: renderings --- repoze/bfg/configuration.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'repoze') diff --git a/repoze/bfg/configuration.py b/repoze/bfg/configuration.py index 4ea52c571..c5ae995e5 100644 --- a/repoze/bfg/configuration.py +++ b/repoze/bfg/configuration.py @@ -301,12 +301,12 @@ class Configurator(object): return self.__class__(registry=self.registry, package=package) def maybe_dotted(self, dotted): - """ Resolve the dotted name ``dotted`` to a global Python - object. If ``dotted`` is not a string, return it without - attempting to do any name resolution. If ``dotted`` is a - relative dotted name (e.g. ``.foo.bar``, consider it relative - to the ``package`` argument supplied to this Configurator's - constructor.""" + """ Resolve the :term:`dotted Python name` ``dotted`` to a + global Python object. If ``dotted`` is not a string, return + it without attempting to do any name resolution. If + ``dotted`` is a relative dotted name (e.g. ``.foo.bar``, + consider it relative to the ``package`` argument supplied to + this Configurator's constructor.""" return self.name_resolver.maybe_resolve(dotted) def absolute_resource_spec(self, relative_spec): @@ -495,7 +495,7 @@ class Configurator(object): """Add an event :term:`subscriber` for the event stream implied by the supplied ``iface`` interface. The ``subscriber`` argument represents a callable object (or a - :ref:`Python dotted name` which identifies a callable); it + :term:`dotted Python name` which identifies a callable); it will be called with a single object ``event`` whenever :mod:`repoze.bfg` emits an :term:`event` associated with the ``iface``, which may be an :term:`interface` or a class or a @@ -1572,7 +1572,7 @@ class Configurator(object): :term:`locale negotiator` is a callable which accepts a :term:`request` object and which returns a :term:`locale name`. The ``negotiator`` argument should be the locale - negotiator implementation or a :term:`dotted Python` name + negotiator implementation or a :term:`dotted Python name` which refers to such an implementation. Later calls to this method override earlier calls; there can -- cgit v1.2.3