summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCatalin Iacob <iacobcatalin@gmail.com>2013-02-24 18:42:02 +0100
committerCatalin Iacob <iacobcatalin@gmail.com>2013-04-01 18:13:43 +0200
commit11169c3a294cfc32cd650cb244307d60262886f9 (patch)
tree7ad2d4b93983654769f3f50d594e6423e468bfcc /docs
parent46d5058a99dee32bc02c1ef93ec5fddf35867505 (diff)
downloadpyramid-11169c3a294cfc32cd650cb244307d60262886f9.tar.gz
pyramid-11169c3a294cfc32cd650cb244307d60262886f9.tar.bz2
pyramid-11169c3a294cfc32cd650cb244307d60262886f9.zip
Remove unused imports from code sample
The import should be done only when actually using the global registry.
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/zca.rst2
1 files changed, 0 insertions, 2 deletions
diff --git a/docs/narr/zca.rst b/docs/narr/zca.rst
index 7e36ba030..2ef8a7373 100644
--- a/docs/narr/zca.rst
+++ b/docs/narr/zca.rst
@@ -151,7 +151,6 @@ Consider the following bit of idiomatic :app:`Pyramid` startup code:
.. code-block:: python
:linenos:
- from zope.component import getGlobalSiteManager
from pyramid.config import Configurator
def app(global_settings, **settings):
@@ -188,7 +187,6 @@ For example:
.. code-block:: python
:linenos:
- from zope.component import getGlobalSiteManager
from pyramid.config import Configurator
def app(global_settings, **settings):