[svn:parrot] r47899 - trunk/runtime/parrot/library

moritz at svn.parrot.org moritz at svn.parrot.org
Mon Jun 28 11:23:37 UTC 2010


Author: moritz
Date: Mon Jun 28 11:23:37 2010
New Revision: 47899
URL: https://trac.parrot.org/parrot/changeset/47899

Log:
[Pg] update documentation; connectdb is not a class method these days (and not tested as being one)

Modified:
   trunk/runtime/parrot/library/Pg.pir

Modified: trunk/runtime/parrot/library/Pg.pir
==============================================================================
--- trunk/runtime/parrot/library/Pg.pir	Mon Jun 28 11:10:23 2010	(r47898)
+++ trunk/runtime/parrot/library/Pg.pir	Mon Jun 28 11:23:37 2010	(r47899)
@@ -8,7 +8,7 @@
 =head1 SYNOPSIS
 
   .local pmc pg, con, res
-  pg = get_class 'Pg'
+  pg = new 'Pg'
   con = pg.'connectdb'('dbname = db')
   res = con.'exec'('SELECT * from tab')
   n = res.'ntuples'()
@@ -61,7 +61,7 @@
 
 =item con = Pg::connectdb('var=val var=val ...')
 
-A class method that returns a new connection object.
+A method that returns a new connection object.
 
 =back
 


More information about the parrot-commits mailing list