update documentation

This commit is contained in:
Michael Davidsaver
2013-12-10 20:36:30 -05:00
parent 149a75b0db
commit bfbe6c4910
3 changed files with 126 additions and 0 deletions

View File

@@ -112,6 +112,13 @@ and the string "some other string".
def allowScan(self, record):
return self.a_scan.add(record)
Which is most cases can be abbriviated to ::
class MySup(object):
def __init__(self):
self.a_scan = devsup.db.IOScanListThread()
self.allowScan = self.a_scan.add
Example
-------