instead of:
class A:
x = Field("This must be an instance of class B",B)
we could write:
class A:
x = Field("This must be an instance of class B","B")
The use case is when B is a child of A and thus cannot be used
before its definition
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
|
||
|---|---|---|
| .. | ||
| applications | ||
| browser | ||
| capabilities | ||
| core | ||
| deprecated | ||
| tools | ||
| __init__.py | ||
| exceptions.py | ||