Plugins/CheckerPlugins/SyntaxChecker/pyflakes/messages.py

changeset 4544
5145cf800bb0
parent 4543
2e6a880670e9
child 4555
861e1741985c
equal deleted inserted replaced
4543:2e6a880670e9 4544:5145cf800bb0
37 """ 37 """
38 Special method return a string representation of the instance object. 38 Special method return a string representation of the instance object.
39 39
40 @return string representation of the object (string) 40 @return string representation of the object (string)
41 """ 41 """
42 return '%s:%s: %s' % ( 42 return '{0}:{1}: {2}'.format(
43 self.filename, self.lineno, self.message % self.message_args) 43 self.filename, self.lineno, self.message % self.message_args)
44 44
45 def getMessageData(self): 45 def getMessageData(self):
46 """ 46 """
47 Public method to get the individual message data elements. 47 Public method to get the individual message data elements.

eric ide

mercurial