summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobby <bobby@jackprogram.com>2014-04-23 23:04:00 -0700
committerbobby <bobby@jackprogram.com>2014-04-23 23:04:00 -0700
commitcef139b9c2f163694968ae5b7efe7eae07e72c04 (patch)
tree1043c6e9bef1c340bd1b3b5f3ea9f3c0d2c12707
parent09beb29cb2a142c798d97caf17ead9def79f0843 (diff)
downloadpyramid-cef139b9c2f163694968ae5b7efe7eae07e72c04.tar.gz
pyramid-cef139b9c2f163694968ae5b7efe7eae07e72c04.tar.bz2
pyramid-cef139b9c2f163694968ae5b7efe7eae07e72c04.zip
Typo found in second Declarative code block
There were two import statements for Configurator. I removed the second import statement in the "__main__" since most of the documentation declares all imports on the top of the source. modified: configuration.rst
-rw-r--r--docs/narr/configuration.rst1
1 files changed, 0 insertions, 1 deletions
diff --git a/docs/narr/configuration.rst b/docs/narr/configuration.rst
index f7a69d613..52615533d 100644
--- a/docs/narr/configuration.rst
+++ b/docs/narr/configuration.rst
@@ -114,7 +114,6 @@ in a package and its subpackages. For example:
return Response('Hello')
if __name__ == '__main__':
- from pyramid.config import Configurator
config = Configurator()
config.scan()
app = config.make_wsgi_app()