Changeset 727


Ignore:
Timestamp:
Jan 12, 2016, 11:57:21 AM (4 years ago)
Author:
cito
Message:

Improve docstring

Files:
2 edited

Legend:

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

    r726 r727  
    614614        """Get list of relations in connected database of specified kinds.
    615615
    616             If kinds is None or empty, all kinds of relations are returned.
    617             Otherwise kinds can be a string or sequence of type letters
    618             specifying which kind of relations you want to list.
     616        If kinds is None or empty, all kinds of relations are returned.
     617        Otherwise kinds can be a string or sequence of type letters
     618        specifying which kind of relations you want to list.
    619619
    620620        """
     
    784784        """Insert a row into a database table.
    785785
    786         This method inserts a row into a table.  If a dictionary is
    787         supplied it starts with that.  Otherwise it uses a blank dictionary.
    788         Either way the dictionary is updated from the keywords.
     786        This method inserts a row into a table.  The name of the table must
     787        be passed as the first parameter.  The other parameters are used for
     788        providing the data of the row that shall be inserted into the table.
     789        If a dictionary is supplied as the second parameter, it starts with
     790        that.  Otherwise it uses a blank dictionary. Either way the dictionary
     791        is updated from the keywords.
    789792
    790793        The dictionary is then, if possible, reloaded with the values actually
  • trunk/pg.py

    r726 r727  
    618618        """Get list of relations in connected database of specified kinds.
    619619
    620             If kinds is None or empty, all kinds of relations are returned.
    621             Otherwise kinds can be a string or sequence of type letters
    622             specifying which kind of relations you want to list.
     620        If kinds is None or empty, all kinds of relations are returned.
     621        Otherwise kinds can be a string or sequence of type letters
     622        specifying which kind of relations you want to list.
    623623
    624624        """
     
    794794        """Insert a row into a database table.
    795795
    796         This method inserts a row into a table.  If a dictionary is
    797         supplied it starts with that.  Otherwise it uses a blank dictionary.
    798         Either way the dictionary is updated from the keywords.
     796        This method inserts a row into a table.  The name of the table must
     797        be passed as the first parameter.  The other parameters are used for
     798        providing the data of the row that shall be inserted into the table.
     799        If a dictionary is supplied as the second parameter, it starts with
     800        that.  Otherwise it uses a blank dictionary. Either way the dictionary
     801        is updated from the keywords.
    799802
    800803        The dictionary is then, if possible, reloaded with the values actually
Note: See TracChangeset for help on using the changeset viewer.