Changeset 718


Ignore:
Timestamp:
Jan 12, 2016, 3:08:40 AM (4 years ago)
Author:
cito
Message:

Fixed misleading docstrings

The methods work with dicts, not with tuples,
so speaking of a tuple in this context can be confusing.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.x/pg.py

    r711 r718  
    727727
    728728    def get(self, cl, arg, keyname=None):
    729         """Get a tuple from a database table or view.
     729        """Get a row from a database table or view.
    730730
    731731        This method is the basic mechanism to get a single row.  The keyname
     
    783783
    784784    def insert(self, cl, d=None, **kw):
    785         """Insert a tuple into a database table.
     785        """Insert a row into a database table.
    786786
    787787        This method inserts a row into a table.  If a dictionary is
  • trunk/pg.py

    r711 r718  
    731731
    732732    def get(self, cl, arg, keyname=None):
    733         """Get a tuple from a database table or view.
     733        """Get a row from a database table or view.
    734734
    735735        This method is the basic mechanism to get a single row.  The keyname
     
    791791
    792792    def insert(self, cl, d=None, **kw):
    793         """Insert a tuple into a database table.
     793        """Insert a row into a database table.
    794794
    795795        This method inserts a row into a table.  If a dictionary is
Note: See TracChangeset for help on using the changeset viewer.