summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2010-10-19 14:42:35 +0000
committerChris McDonough <chrism@agendaless.com>2010-10-19 14:42:35 +0000
commit6c4f1e1e048f6fce2abe735bb24efa7c8c22a5c7 (patch)
treead1f1ba66047bfa889ba3e4a93d6c068e51a6e70
parentc0b29e305cb9737978a0bc1cd340a4b2ae33beb2 (diff)
downloadpyramid-6c4f1e1e048f6fce2abe735bb24efa7c8c22a5c7.tar.gz
pyramid-6c4f1e1e048f6fce2abe735bb24efa7c8c22a5c7.tar.bz2
pyramid-6c4f1e1e048f6fce2abe735bb24efa7c8c22a5c7.zip
note dotted-name-acceptance
-rw-r--r--repoze/bfg/configuration.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/repoze/bfg/configuration.py b/repoze/bfg/configuration.py
index 77dbf28e5..88bdcba58 100644
--- a/repoze/bfg/configuration.py
+++ b/repoze/bfg/configuration.py
@@ -326,7 +326,9 @@ class Configurator(object):
def with_package(self, package):
""" Return a new Configurator instance with the same registry
as this configurator using the package supplied as the
- ``package`` argument to the new configurator."""
+ ``package`` argument to the new configurator. ``package`` may
+ be an actual Python package object or a Python dotted name
+ representing a package."""
return self.__class__(registry=self.registry, package=package)
def maybe_dotted(self, dotted):