diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2013-01-23 22:01:56 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2013-01-23 22:01:56 +0200 |
| commit | 531a2ad34ab0a806513681cddd5d99e50a31c4c6 (patch) | |
| tree | db527dfe6be0d65bb2f87574a96eb6fb16c93ddc /docs | |
| parent | 2947141248946db191843c5bc1629c60e7ad8f3a (diff) | |
| download | pyramid-531a2ad34ab0a806513681cddd5d99e50a31c4c6.tar.gz pyramid-531a2ad34ab0a806513681cddd5d99e50a31c4c6.tar.bz2 pyramid-531a2ad34ab0a806513681cddd5d99e50a31c4c6.zip | |
provide a link to the class; lineno for a 1-liner is overkill
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/renderers.rst | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/narr/renderers.rst b/docs/narr/renderers.rst index b7d3479dc..863932e83 100644 --- a/docs/narr/renderers.rst +++ b/docs/narr/renderers.rst @@ -683,12 +683,10 @@ There are essentially two different kinds of renderer factories: :term:`package`. Here's an example of the registration of a simple renderer factory via -:meth:`~pyramid.config.Configurator.add_renderer`: +:meth:`~pyramid.config.Configurator.add_renderer`, where ``config`` +is an instance of :meth:`pyramid.config.Configurator`: .. code-block:: python - :linenos: - - # config is an instance of pyramid.config.Configurator config.add_renderer(name='amf', factory='my.package.MyAMFRenderer') |
