Skip to content

Commit

Permalink
fix docs for pylons renderer global factory
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdonc committed Nov 4, 2010
1 parent 9fe5a03 commit 96ae8e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/api/personality.rst
Expand Up @@ -5,5 +5,5 @@

.. module:: pyramid.personality.pylons

.. function:: renderer_globals_factory_config
.. autofunction:: renderer_globals_factory_config

5 changes: 3 additions & 2 deletions pyramid/personality/pylons.py
Expand Up @@ -2,8 +2,9 @@
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:
Expand Down

0 comments on commit 96ae8e4

Please sign in to comment.