Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mappet's __getattr__ should always return a list of nodes #16

Open
rszalski opened this issue Aug 28, 2015 · 0 comments
Open

mappet's __getattr__ should always return a list of nodes #16

rszalski opened this issue Aug 28, 2015 · 0 comments

Comments

@rszalski
Copy link
Contributor

Currently, mappet returns a list if a node has 1+ children or a specific children if it's the only sibling. This makes working with results of __getattr__ rather tiring since one has to check for both possible return types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant