--- a/mercurial/interfaces/util.py Sat Oct 05 10:29:34 2019 -0400
+++ b/mercurial/interfaces/util.py Sun Oct 06 09:45:02 2019 -0400
@@ -11,26 +11,24 @@
from __future__ import absolute_import
-from .. import (
- encoding,
-)
+from .. import encoding
if encoding.environ.get('HGREALINTERFACES'):
- from ..thirdparty.zope import (
- interface as zi,
- )
+ from ..thirdparty.zope import interface as zi
Attribute = zi.Attribute
Interface = zi.Interface
implementer = zi.implementer
else:
+
class Attribute(object):
def __init__(self, __name__, __doc__=''):
pass
class Interface(object):
- def __init__(self, name, bases=(), attrs=None, __doc__=None,
- __module__=None):
+ def __init__(
+ self, name, bases=(), attrs=None, __doc__=None, __module__=None
+ ):
pass
def implementer(*ifaces):