Fix python documentation wrt dbIndex()
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 21 Jan 2011 11:41:02 +0000 (13:41 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 21 Jan 2011 11:41:02 +0000 (13:41 +0200)
python/rpmii-py.c

index 803e8ba..d142d51 100644 (file)
  * - next() -> key             Return the next key.
  *
  * To obtain a rpm.ii object to query the database used by a transaction,
- * the ts.dbKeys(tag) method is used.
+ * the ts.dbIndex(tag) method is used.
  *
  * Here's an example that prints the name of all installed packages:
  * \code
  *     import rpm
  *     ts = rpm.TransactionSet()
- *     for name in ts.dbKeys("conflictname"):
+ *     for name in ts.dbIndex("conflictname"):
  *         print name
  * \endcode
  *
- * ts.dbMatch() can be used to get the packages containing the keys of interest
+ * ts.dbIndex() can be used to get the packages containing the keys of interest
  */
 
 /** \ingroup python