Lines Matching refs:str
481 def Truncate(self, str, length):
482 if length and (len(str) > (length - 3)):
483 return str[:(length-3)] + "..."
485 return str
737 def PrintError(str):
738 sys.stderr.write(str)
753 PrintError("os.unlink() " + str(e))
1057 def IsAlpha(str):
1058 for char in str:
1479 def match(self, str):
1483 return self.compiled.match(str)
1719 print("Rule for '%s' was not used." % '/'.join([str(s) for s in rule.path]))