GitHub PullRequestReviewCommentEvent at 2014-03-27 16:13:02
Repository: distributed-array-protocol
Actor: bgrant
Payload: {"comment":{"url":"https://api.github.com/repos/enthought/distributed-array-protocol/pulls/comments/11030405","id":11030405,"diff_hunk":"@@ -389,6 +389,10 @@ The following properties of a dimension dictionary imply an empty local buffer:\n * With the ``'b'`` ``dist_type``: ``start == size`` (this also implies that ``start == stop``)\n * With the ``'u'`` ``dist_type``: ``len(indices) == 0``\n \n+The global number of elements in an array is equal to ``reduce(operator.mul,\n+dimension_sizes)`` except for when the array has zero dimensions, in which case","path":"protocol.rst","position":5,"original_position":5,"commit_id":"7c715831279bbcc61421281566816004c44daf14","original_commit_id":"7c715831279bbcc61421281566816004c44daf14","user":{"login":"bgrant","id":624123,"avatar_url":"https://avatars.githubusercontent.com/u/624123?","gravatar_id":"35fade6a59bd35f4c60b30b9603405f3","url":"https://api.github.com/users/bgrant","html_url":"https://github.com/bgrant","followers_url":"https://api.github.com/users/bgrant/followers","following_url":"https://api.github.com/users/bgrant/following{/other_user}","gists_url":"https://api.github.com/users/bgrant/gists{/gist_id}","starred_url":"https://api.github.com/users/bgrant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgrant/subscriptions","organizations_url":"https://api.github.com/users/bgrant/orgs","repos_url":"https://api.github.com/users/bgrant/repos","events_url":"https://api.github.com/users/bgrant/events{/privacy}","received_events_url":"https://api.github.com/users/bgrant/received_events","type":"User","site_admin":false},"body":"Nice- I didn't know `reduce` could take a third argument.","created_at":"2014-03-27T16:13:02Z","updated_at":"2014-03-27T16:13:02Z","html_url":"https://github.com/enthought/distributed-array-protocol/pull/75#discussion_r11030405","pull_request_url":"https://api.github.com/repos/enthought/distributed-array-protocol/pulls/75","_links":{"self":{"href":"https://api.github.com/repos/enthought/distributed-array-protocol/pulls/comments/11030405"},"html":{"href":"https://github.com/enthought/distributed-array-protocol/pull/75#discussion_r11030405"},"pull_request":{"href":"https://api.github.com/repos/enthought/distributed-array-protocol/pulls/75"}}}}