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

@ -40,6 +40,8 @@ devsup Package
.. automethod:: field .. automethod:: field
.. automethod:: setTime
.. automethod:: scan .. automethod:: scan
.. automethod:: asyncStart .. automethod:: asyncStart
@ -67,6 +69,10 @@ devsup Package
.. automethod:: fieldinfo .. automethod:: fieldinfo
.. automethod:: getTime
.. automethod:: getAlarm
.. autoclass:: devsup.db.IOScanListBlock .. autoclass:: devsup.db.IOScanListBlock
:members: :members:
:inherited-members: :inherited-members:

View File

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

View File

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