more doc
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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'):
|
||||
|
||||
Reference in New Issue
Block a user