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:: setTime
.. automethod:: scan
.. automethod:: asyncStart
@ -66,6 +68,10 @@ devsup Package
.. automethod:: getarray
.. automethod:: fieldinfo
.. automethod:: getTime
.. automethod:: getAlarm
.. autoclass:: devsup.db.IOScanListBlock
:members:

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'):