diff options
| author | Chris McDonough <chrism@plope.com> | 2010-11-04 12:58:41 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-11-04 12:58:41 -0400 |
| commit | 96ae8e46f2592d325e58cb84a88acbb241826874 (patch) | |
| tree | 67db278a7a6edc75c4c2106e6f10eb0bb9a7d1b7 | |
| parent | 9fe5a0348f268513eee98378fe9cf3989fdbfd9a (diff) | |
| download | pyramid-96ae8e46f2592d325e58cb84a88acbb241826874.tar.gz pyramid-96ae8e46f2592d325e58cb84a88acbb241826874.tar.bz2 pyramid-96ae8e46f2592d325e58cb84a88acbb241826874.zip | |
fix docs for pylons renderer global factory
| -rw-r--r-- | docs/api/personality.rst | 2 | ||||
| -rw-r--r-- | pyramid/personality/pylons.py | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/docs/api/personality.rst b/docs/api/personality.rst index 7eb964e76..ed4b59364 100644 --- a/docs/api/personality.rst +++ b/docs/api/personality.rst @@ -5,5 +5,5 @@ .. module:: pyramid.personality.pylons -.. function:: renderer_globals_factory_config +.. autofunction:: renderer_globals_factory_config diff --git a/pyramid/personality/pylons.py b/pyramid/personality/pylons.py index 2e7984fd9..9ed265169 100644 --- a/pyramid/personality/pylons.py +++ b/pyramid/personality/pylons.py @@ -2,8 +2,9 @@ from pyramid.threadlocal import get_current_request from pyramid.url import route_url def renderer_globals_factory_config(helpers): - """ Return a Pylons renderer globals factory using ``helpers`` as - a helpers key.""" + """ Return a :term:`renderer globals` factory useful in applications that + behave like :term:`Pylons` using the ``helpers`` argument passed as a the + ``helpers`` key (should be a Python module).""" def renderer_globals_factory(system): req = system['request'] if req is None: |
