Replaced explicit __metaclass__ assignment with @six.add_metaclass
`__metaclass__ `only works for Python 2. In Python 3 it has no effect
since the metaclass syntax is
class A(meta=abc.ABCMeta):
...
`@six.add_metaclass` covers both variants.
PiperOrigin-RevId: 219814202
Loading
Please sign in to comment