Use object for Python 2 classes.

This commit is contained in:
Dave Halter
2017-04-15 01:47:48 +02:00
parent d6d25db9a2
commit c4e51f9969

View File

@@ -102,7 +102,7 @@ class DocstringMixin(object):
return ''
class PythonMixin():
class PythonMixin(object):
def get_parent_scope(self, include_flows=False):
"""
Returns the underlying scope.
@@ -259,7 +259,7 @@ class String(Literal):
__slots__ = ()
class _StringComparisonMixin:
class _StringComparisonMixin(object):
def __eq__(self, other):
"""
Make comparisons with strings easy.