[gimp-web] docs/python: fix pdb mapping example



commit d2a629726cfc4f91aa44b1df335464a24d9c99a6
Author: Nils Philippsen <nils redhat com>
Date:   Wed Mar 7 16:06:40 2012 +0100

    docs/python: fix pdb mapping example

 docs/python/index.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/docs/python/index.html b/docs/python/index.html
index 583ac6e..17c0fdc 100644
--- a/docs/python/index.html
+++ b/docs/python/index.html
@@ -681,7 +681,7 @@ any arguments, it will return every procedure in the database.</p>
 <h3><a id="pdb_procedures"></a>Procedural Database Procedures</h3>
 <p>Procedures can be accessed as procedures, or by treating <tt>pdb</tt> as a
 mapping object. As an example, the procedure <tt>gimp_edit_fill</tt> can be
-accessed as either <tt>pdb.gimp_edit_fill</tt> or <tt>pdb[<em>gimp_edit_fill</em>]</tt>.
+accessed as either <tt>pdb.gimp_edit_fill</tt> or <tt>pdb['<em>gimp_edit_fill</em>']</tt>.
 The second form is mainly for procedures whose names are not valid
 Python names (eg in script-fu-&#8230;, the dashes are interpreted as
 minuses).</p>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]