Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion equinox/_module/_flatten.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
_INDENT: Final = " " * 4


@jtu.register_static
class _Missing:
def __bool__(self):
return False
Expand All @@ -34,7 +35,6 @@ def __repr__(self):


MISSING = _Missing()
Comment thread
nstarman marked this conversation as resolved.
jtu.register_pytree_node(_Missing, lambda _: ((), None), lambda _, __: MISSING)


# Code template for flattening the wrapper fields
Expand Down
Loading