Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
be honest that non-Module root is possible; return None in such cases
The nodes are often created in an ad-hoc way, and their parent is not always set. We can't control for that invariant in the constructor, since the parent is usually set outside of the constructor. So, let's just be honest that we might not have Module as the root.
- Loading branch information