aboutsummaryrefslogtreecommitdiff
path: root/doc/src/sgml/plpython.sgml
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2007-02-01 00:28:19 +0000
committerBruce Momjian <bruce@momjian.us>2007-02-01 00:28:19 +0000
commit09a9f10e7fac95ba7e184d68be44c007bd54ef02 (patch)
tree23ee23c9bf7c73fc757bb3cf171a512b1f8c1920 /doc/src/sgml/plpython.sgml
parente81c138e18b54e272d917e5e8c4c8ae1b89cd133 (diff)
downloadpostgresql-09a9f10e7fac95ba7e184d68be44c007bd54ef02.tar.gz
postgresql-09a9f10e7fac95ba7e184d68be44c007bd54ef02.zip
Consistenly use colons before '<programlisting>' blocks, where
appropriate.
Diffstat (limited to 'doc/src/sgml/plpython.sgml')
-rw-r--r--doc/src/sgml/plpython.sgml8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/sgml/plpython.sgml b/doc/src/sgml/plpython.sgml
index 8bc2f93b8f4..718bb7e4fd4 100644
--- a/doc/src/sgml/plpython.sgml
+++ b/doc/src/sgml/plpython.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/plpython.sgml,v 1.37 2007/01/31 20:56:18 momjian Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/plpython.sgml,v 1.38 2007/02/01 00:28:17 momjian Exp $ -->
<chapter id="plpython">
<title>PL/Python - Python Procedural Language</title>
@@ -83,7 +83,7 @@ $$ LANGUAGE plpythonu;
</programlisting>
The Python code that is given as the body of the function definition
- is transformed into a Python function. For example, the above results in
+ is transformed into a Python function. For example, the above results in:
<programlisting>
def __plpython_procedure_pymax_23456():
@@ -459,13 +459,13 @@ $$ LANGUAGE plpythonu;
</para>
<para>
- For example,
+ For example:
<programlisting>
rv = plpy.execute("SELECT * FROM my_table", 5)
</programlisting>
returns up to 5 rows from <literal>my_table</literal>. If
<literal>my_table</literal> has a column
- <literal>my_column</literal>, it would be accessed as
+ <literal>my_column</literal>, it would be accessed as:
<programlisting>
foo = rv[i]["my_column"]
</programlisting>