Skip to content

Commit

Permalink
misc: Remove object where metaclasses are used
Browse files Browse the repository at this point in the history
  • Loading branch information
EdCaunt committed May 28, 2024
1 parent 22aa7f1 commit a3a2587
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion devito/mpi/distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class NoneMetaclass(type):
def __getattr__(self, name):
return None

class MPI(object, metaclass=NoneMetaclass):
class MPI(metaclass=NoneMetaclass):
init_error = e

@classmethod
Expand Down
2 changes: 1 addition & 1 deletion devito/passes/iet/langbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def __getitem__(self, k):
return self.mapper[k]


class LangBB(object, metaclass=LangMeta):
class LangBB(metaclass=LangMeta):

"""
Abstract base class for Language Building Blocks.
Expand Down

0 comments on commit a3a2587

Please sign in to comment.