This commit is contained in:
Michael Davidsaver
2013-04-14 11:06:44 -04:00
parent 4f00b841cc
commit 4d2c3c4fd3
3 changed files with 12 additions and 3 deletions

View File

@@ -34,8 +34,10 @@ class _Record(object):
:rtype: bool
"""
def info(self, key):
"""info(key)
info(key, default)
"""info(key [,default])
:rtype: str
:throws: KeyError
Lookup record info tag. If no default
is provided then an exception is raised

View File

@@ -241,8 +241,9 @@ class Record(_dbapi._Record):
def setTime(self, ts):
"""Set record timestamp.
:param ts: timetuple, float, or (sec, nsec).
Has not effect if the TSE field is not set to -2.
Accepts timetuple, float, or (sec, nsec).
All inputs must be referenced to the posix epoch.
"""
if hasattr(ts, 'timetuple'):