{"comment":{"url":"https://api.github.com/repos/constanthatz/data-structures/comments/9881224","html_url":"https://github.com/constanthatz/data-structures/commit/b4bee7e78e1f2d1109cd3e768784d8b3281dfb4f#commitcomment-9881224","id":9881224,"user":{"login":"cewing","id":417109,"avatar_url":"https://avatars.githubusercontent.com/u/417109?v=3","gravatar_id":"","url":"https://api.github.com/users/cewing","html_url":"https://github.com/cewing","followers_url":"https://api.github.com/users/cewing/followers","following_url":"https://api.github.com/users/cewing/following{/other_user}","gists_url":"https://api.github.com/users/cewing/gists{/gist_id}","starred_url":"https://api.github.com/users/cewing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cewing/subscriptions","organizations_url":"https://api.github.com/users/cewing/orgs","repos_url":"https://api.github.com/users/cewing/repos","events_url":"https://api.github.com/users/cewing/events{/privacy}","received_events_url":"https://api.github.com/users/cewing/received_events","type":"User","site_admin":false},"position":9,"line":22,"path":"binheap.py","commit_id":"b4bee7e78e1f2d1109cd3e768784d8b3281dfb4f","created_at":"2015-02-23T22:26:29Z","updated_at":"2015-02-23T22:26:29Z","body":"I'm just not convinced that having the `__parent` method return a tuple is saving you much.  How is saying `if parent[1] < child` better than saying something like `if self.binlist[parent_idx] < self.binlist[child_idx]:`?\r\n"}}