Skip to content

Commit 9be108f

Browse files
committed
Cleanup; pure Python 3 metaclass usage.
1 parent 4147798 commit 9be108f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

marrow/schema/declarative.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
from .meta import Element
1111

1212

13-
# ## Class Definitions
14-
1513
class Container(Element):
1614
"""The underlying machinery for handling class instantiation for schema elements whose primary purpose is
1715
containing other schema elements, i.e. Document, Record, CompoundWidget, etc.

marrow/schema/meta.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,6 @@ def __call__(meta, *args, **kw):
112112

113113

114114
Element = ElementMeta("Element", (object, ), dict())
115+
116+
class Element(metaclass=ElementMeta):
117+
pass

0 commit comments

Comments
 (0)