зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1547730 - Do s/StandardError/Exception/ to support py3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28099 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
9986aa9ab7
Коммит
f31561f3d4
|
@ -246,7 +246,7 @@ class Expression:
|
|||
def __repr__(self):
|
||||
return self.value.__repr__()
|
||||
|
||||
class ParseError(StandardError):
|
||||
class ParseError(Exception):
|
||||
"""
|
||||
Error raised when parsing fails.
|
||||
It has two members, offset and content, which give the offset of the
|
||||
|
|
Загрузка…
Ссылка в новой задаче