From 96ae8e46f2592d325e58cb84a88acbb241826874 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 4 Nov 2010 12:58:41 -0400 Subject: [PATCH] fix docs for pylons renderer global factory --- docs/api/personality.rst | 2 +- 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 7eb964e760..ed4b593649 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 2e7984fd98..9ed2651695 100644 --- a/pyramid/personality/pylons.py +++ b/pyramid/personality/pylons.py @@ -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: