Skip to content

Commit 4147798

Browse files
committed
Docstring update.
1 parent 2f250a7 commit 4147798

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

marrow/schema/meta.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ class ElementMeta(type):
2727
2828
* `cls.__attributed__`
2929
Called after class construction to allow you to easily perform additional work, post-annotation.
30-
Should be a classmethod for full effect.
30+
Should be a classmethod for full effect. Deprecatedi for many use cases; use Python's own `__init_subclass__`
31+
instead. (This also allows arguments to be passed within the class definition, which is more flexible.)
3132
3233
* `cls.__fixup__`
3334
If an instance of your Element subclass is assigned as a property to an Element subclass, this method of your

0 commit comments

Comments
 (0)