diff options
| author | Catalin Iacob <iacobcatalin@gmail.com> | 2013-02-24 18:42:02 +0100 |
|---|---|---|
| committer | Catalin Iacob <iacobcatalin@gmail.com> | 2013-04-01 18:13:43 +0200 |
| commit | 11169c3a294cfc32cd650cb244307d60262886f9 (patch) | |
| tree | 7ad2d4b93983654769f3f50d594e6423e468bfcc /docs/narr/zca.rst | |
| parent | 46d5058a99dee32bc02c1ef93ec5fddf35867505 (diff) | |
| download | pyramid-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/narr/zca.rst')
| -rw-r--r-- | docs/narr/zca.rst | 2 |
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): |
