Preferences/PreferencesLexer.py

changeset 3591
2f2a4a76dd22
parent 3178
f25fc1364c88
child 3656
441956d8fce5
equal deleted inserted replaced
3590:5280e37405b8 3591:2f2a4a76dd22
28 "PreferencesLexerError", 28 "PreferencesLexerError",
29 "Unspecific PreferencesLexer error.") 29 "Unspecific PreferencesLexer error.")
30 30
31 def __repr__(self): 31 def __repr__(self):
32 """ 32 """
33 Private method returning a representation of the exception. 33 Special method returning a representation of the exception.
34 34
35 @return string representing the error message 35 @return string representing the error message
36 """ 36 """
37 return repr(self._errorMessage) 37 return repr(self._errorMessage)
38 38
39 def __str__(self): 39 def __str__(self):
40 """ 40 """
41 Private method returning a string representation of the exception. 41 Special method returning a string representation of the exception.
42 42
43 @return string representing the error message 43 @return string representing the error message
44 """ 44 """
45 return self._errorMessage 45 return self._errorMessage
46 46

eric ide

mercurial