
Going by the documentation for all, one would think all iterables will early return. The following code will throw an AttributeError on the last item of the list iteratable. def bad_all(o: object, att: str, l: list): if all([o is not None, getat...
backend/cloud engineer | mentor | pythonista
I am developer/code-reviewer/debugger/bug-fixer/architect/teacher/builder from dubai, uae
Markdown supported · ⌘↵ to post
No responses yet.