1: #line 155 "tanglers.ipk" 2: #--------------------------------------------------------- 3: # null tangler 4: # NOTE: a null tangler is _not_ the same as 5: # some other tangler with a null sink: 6: # null tanglers do _not_ write to the weaver! 7: # Use a null tangler to remove files from the 8: # source _and_ documentation 9: from interscript.drivers.sinks.null import null_sink 10: from interscript.tanglers.base import tangler_base 11: 12: class null_tangler(tangler_base): 13: def __init__(self,weaver=None): 14: tangler_base.__init__(self,null_sink(),weaver) 15: self.language = 'None' 16: 17: def get_comment_tangler(self): 18: return self 19: 20: def writeline(self,data,file,count,inhibit_sref=0): 21: pass 22: