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 /repoze/bfg | |
| parent | eb7ea411bfce55085449b79ac88aac19af0e232f (diff) | |
| download | pyramid-3b002a7b2515375e283fce953c20be823f24a224.tar.gz pyramid-3b002a7b2515375e283fce953c20be823f24a224.tar.bz2 pyramid-3b002a7b2515375e283fce953c20be823f24a224.zip | |
renderings
Diffstat (limited to 'repoze/bfg')
| -rw-r--r-- | repoze/bfg/configuration.py | 16 |
1 files changed, 8 insertions, 8 deletions
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 |
