1: #line 144 "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: 10: from interscript.tanglers.base import tangler_base 11: class null_tangler(tangler_base): 12: def __init__(self,weaver=None): 13: tangler_base.__init__(self,null_sink(),weaver) 14: self.language = 'None' 15: 16: def get_comment_tangler(self): 17: return self 18: 19: def writeline(self,data,file,count,inhibit_sref=0): 20: pass 21: