Skip to content

Commit

Permalink
Cleanup; pure Python 3 metaclass usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
amcgregor committed Jan 21, 2019
1 parent 4147798 commit 9be108f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions marrow/schema/declarative.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
from .meta import Element


# ## Class Definitions

class Container(Element):
"""The underlying machinery for handling class instantiation for schema elements whose primary purpose is
containing other schema elements, i.e. Document, Record, CompoundWidget, etc.
Expand Down
3 changes: 3 additions & 0 deletions marrow/schema/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,6 @@ def __call__(meta, *args, **kw):


Element = ElementMeta("Element", (object, ), dict())

class Element(metaclass=ElementMeta):
pass

0 comments on commit 9be108f

Please sign in to comment.