From da8e2a8a84a36245eb601d6069e6ffd2a1947f46 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 7 Oct 2011 08:52:37 -0400 Subject: docstring fixes --- pyramid/config/__init__.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pyramid/config/__init__.py b/pyramid/config/__init__.py index b55a7a9e4..40c3c037b 100644 --- a/pyramid/config/__init__.py +++ b/pyramid/config/__init__.py @@ -669,10 +669,9 @@ class Configurator( @classmethod def with_context(cls, context): - """A classmethod used by ZCML directives, - :meth:`pyramid.config.Configurator.with_package`, and - :meth:`pyramid.config.Configurator.include` to obtain a configurator - with 'the right' context. Returns a new Configurator instance.""" + """A classmethod used by ``pyramid_zcml`` directives to obtain a + configurator with 'the right' context. Returns a new Configurator + instance.""" configurator = cls( registry=context.registry, package=context.package, @@ -823,7 +822,8 @@ class Configurator( # this class is licensed under the ZPL (stolen from Zope) class ActionState(object): def __init__(self): - self.actions = [] # NB "actions" is an API, dep'd upon by pyramid_zcml + # NB "actions" is an API, dep'd upon by pyramid_zcml's load_zcml func + self.actions = [] self._seen_files = set() def processSpec(self, spec): -- cgit v1.2.3