{"action":"created","comment":{"url":"https://api.github.com/repos/bbcmicrobit/micropython/pulls/comments/44217051","id":44217051,"diff_hunk":"@@ -0,0 +1,36 @@\n+Buttons\n+*******\n+\n+.. py::module:: microbit\n+\n+There are two buttons on the board, called ``button_a`` and ``button_b``.\n+\n+\n+Classes","path":"docs/button.rst","position":9,"original_position":9,"commit_id":"3d2b8f3133a6fc3db135769cb805f9e172e41f72","original_commit_id":"3d2b8f3133a6fc3db135769cb805f9e172e41f72","user":{"login":"deshipu","id":1181357,"avatar_url":"https://avatars.githubusercontent.com/u/1181357?v=3","gravatar_id":"","url":"https://api.github.com/users/deshipu","html_url":"https://github.com/deshipu","followers_url":"https://api.github.com/users/deshipu/followers","following_url":"https://api.github.com/users/deshipu/following{/other_user}","gists_url":"https://api.github.com/users/deshipu/gists{/gist_id}","starred_url":"https://api.github.com/users/deshipu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deshipu/subscriptions","organizations_url":"https://api.github.com/users/deshipu/orgs","repos_url":"https://api.github.com/users/deshipu/repos","events_url":"https://api.github.com/users/deshipu/events{/privacy}","received_events_url":"https://api.github.com/users/deshipu/received_events","type":"User","site_admin":false},"body":"But then we would have some repetition with the same method described on both instances of the Button class.\r\nPerhaps we could just mention in the class description, that it's not actually available?","created_at":"2015-11-07T21:00:33Z","updated_at":"2015-11-07T21:00:33Z","html_url":"https://github.com/bbcmicrobit/micropython/pull/79#discussion_r44217051","pull_request_url":"https://api.github.com/repos/bbcmicrobit/micropython/pulls/79","_links":{"self":{"href":"https://api.github.com/repos/bbcmicrobit/micropython/pulls/comments/44217051"},"html":{"href":"https://github.com/bbcmicrobit/micropython/pull/79#discussion_r44217051"},"pull_request":{"href":"https://api.github.com/repos/bbcmicrobit/micropython/pulls/79"}}},"pull_request":{"url":"https://api.github.com/repos/bbcmicrobit/micropython/pulls/79","id":50040262,"html_url":"https://github.com/bbcmicrobit/micropython/pull/79","diff_url":"https://github.com/bbcmicrobit/micropython/pull/79.diff","patch_url":"https://github.com/bbcmicrobit/micropython/pull/79.patch","issue_url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/79","number":79,"state":"open","locked":false,"title":"Add initial documentation for the buttons","user":{"login":"deshipu","id":1181357,"avatar_url":"https://avatars.githubusercontent.com/u/1181357?v=3","gravatar_id":"","url":"https://api.github.com/users/deshipu","html_url":"https://github.com/deshipu","followers_url":"https://api.github.com/users/deshipu/followers","following_url":"https://api.github.com/users/deshipu/following{/other_user}","gists_url":"https://api.github.com/users/deshipu/gists{/gist_id}","starred_url":"https://api.github.com/users/deshipu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deshipu/subscriptions","organizations_url":"https://api.github.com/users/deshipu/orgs","repos_url":"https://api.github.com/users/deshipu/repos","events_url":"https://api.github.com/users/deshipu/events{/privacy}","received_events_url":"https://api.github.com/users/deshipu/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-07T17:13:46Z","updated_at":"2015-11-07T21:00:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0245b3adebfa642a6215f890a61b2dc7a6fccb5f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bbcmicrobit/micropython/pulls/79/commits","review_comments_url":"https://api.github.com/repos/bbcmicrobit/micropython/pulls/79/comments","review_comment_url":"https://api.github.com/repos/bbcmicrobit/micropython/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/79/comments","statuses_url":"https://api.github.com/repos/bbcmicrobit/micropython/statuses/3d2b8f3133a6fc3db135769cb805f9e172e41f72","head":{"label":"deshipu:button-docs","ref":"button-docs","sha":"3d2b8f3133a6fc3db135769cb805f9e172e41f72","user":{"login":"deshipu","id":1181357,"avatar_url":"https://avatars.githubusercontent.com/u/1181357?v=3","gravatar_id":"","url":"https://api.github.com/users/deshipu","html_url":"https://github.com/deshipu","followers_url":"https://api.github.com/users/deshipu/followers","following_url":"https://api.github.com/users/deshipu/following{/other_user}","gists_url":"https://api.github.com/users/deshipu/gists{/gist_id}","starred_url":"https://api.github.com/users/deshipu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deshipu/subscriptions","organizations_url":"https://api.github.com/users/deshipu/orgs","repos_url":"https://api.github.com/users/deshipu/repos","events_url":"https://api.github.com/users/deshipu/events{/privacy}","received_events_url":"https://api.github.com/users/deshipu/received_events","type":"User","site_admin":false},"repo":{"id":44597197,"name":"micropython-1","full_name":"deshipu/micropython-1","owner":{"login":"deshipu","id":1181357,"avatar_url":"https://avatars.githubusercontent.com/u/1181357?v=3","gravatar_id":"","url":"https://api.github.com/users/deshipu","html_url":"https://github.com/deshipu","followers_url":"https://api.github.com/users/deshipu/followers","following_url":"https://api.github.com/users/deshipu/following{/other_user}","gists_url":"https://api.github.com/users/deshipu/gists{/gist_id}","starred_url":"https://api.github.com/users/deshipu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deshipu/subscriptions","organizations_url":"https://api.github.com/users/deshipu/orgs","repos_url":"https://api.github.com/users/deshipu/repos","events_url":"https://api.github.com/users/deshipu/events{/privacy}","received_events_url":"https://api.github.com/users/deshipu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/deshipu/micropython-1","description":"Port of MicroPython for the BBC micro:bit","fork":true,"url":"https://api.github.com/repos/deshipu/micropython-1","forks_url":"https://api.github.com/repos/deshipu/micropython-1/forks","keys_url":"https://api.github.com/repos/deshipu/micropython-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deshipu/micropython-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deshipu/micropython-1/teams","hooks_url":"https://api.github.com/repos/deshipu/micropython-1/hooks","issue_events_url":"https://api.github.com/repos/deshipu/micropython-1/issues/events{/number}","events_url":"https://api.github.com/repos/deshipu/micropython-1/events","assignees_url":"https://api.github.com/repos/deshipu/micropython-1/assignees{/user}","branches_url":"https://api.github.com/repos/deshipu/micropython-1/branches{/branch}","tags_url":"https://api.github.com/repos/deshipu/micropython-1/tags","blobs_url":"https://api.github.com/repos/deshipu/micropython-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deshipu/micropython-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deshipu/micropython-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/deshipu/micropython-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deshipu/micropython-1/statuses/{sha}","languages_url":"https://api.github.com/repos/deshipu/micropython-1/languages","stargazers_url":"https://api.github.com/repos/deshipu/micropython-1/stargazers","contributors_url":"https://api.github.com/repos/deshipu/micropython-1/contributors","subscribers_url":"https://api.github.com/repos/deshipu/micropython-1/subscribers","subscription_url":"https://api.github.com/repos/deshipu/micropython-1/subscription","commits_url":"https://api.github.com/repos/deshipu/micropython-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/deshipu/micropython-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/deshipu/micropython-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/deshipu/micropython-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/deshipu/micropython-1/contents/{+path}","compare_url":"https://api.github.com/repos/deshipu/micropython-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deshipu/micropython-1/merges","archive_url":"https://api.github.com/repos/deshipu/micropython-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deshipu/micropython-1/downloads","issues_url":"https://api.github.com/repos/deshipu/micropython-1/issues{/number}","pulls_url":"https://api.github.com/repos/deshipu/micropython-1/pulls{/number}","milestones_url":"https://api.github.com/repos/deshipu/micropython-1/milestones{/number}","notifications_url":"https://api.github.com/repos/deshipu/micropython-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deshipu/micropython-1/labels{/name}","releases_url":"https://api.github.com/repos/deshipu/micropython-1/releases{/id}","created_at":"2015-10-20T09:52:54Z","updated_at":"2015-10-20T09:52:55Z","pushed_at":"2015-11-07T20:42:26Z","git_url":"git://github.com/deshipu/micropython-1.git","ssh_url":"git@github.com:deshipu/micropython-1.git","clone_url":"https://github.com/deshipu/micropython-1.git","svn_url":"https://github.com/deshipu/micropython-1","homepage":"","size":773,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bbcmicrobit:master","ref":"master","sha":"c7c8bbf2490ee5faf8be8733f6f7628209db3991","user":{"login":"bbcmicrobit","id":15104236,"avatar_url":"https://avatars.githubusercontent.com/u/15104236?v=3","gravatar_id":"","url":"https://api.github.com/users/bbcmicrobit","html_url":"https://github.com/bbcmicrobit","followers_url":"https://api.github.com/users/bbcmicrobit/followers","following_url":"https://api.github.com/users/bbcmicrobit/following{/other_user}","gists_url":"https://api.github.com/users/bbcmicrobit/gists{/gist_id}","starred_url":"https://api.github.com/users/bbcmicrobit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbcmicrobit/subscriptions","organizations_url":"https://api.github.com/users/bbcmicrobit/orgs","repos_url":"https://api.github.com/users/bbcmicrobit/repos","events_url":"https://api.github.com/users/bbcmicrobit/events{/privacy}","received_events_url":"https://api.github.com/users/bbcmicrobit/received_events","type":"Organization","site_admin":false},"repo":{"id":40358251,"name":"micropython","full_name":"bbcmicrobit/micropython","owner":{"login":"bbcmicrobit","id":15104236,"avatar_url":"https://avatars.githubusercontent.com/u/15104236?v=3","gravatar_id":"","url":"https://api.github.com/users/bbcmicrobit","html_url":"https://github.com/bbcmicrobit","followers_url":"https://api.github.com/users/bbcmicrobit/followers","following_url":"https://api.github.com/users/bbcmicrobit/following{/other_user}","gists_url":"https://api.github.com/users/bbcmicrobit/gists{/gist_id}","starred_url":"https://api.github.com/users/bbcmicrobit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbcmicrobit/subscriptions","organizations_url":"https://api.github.com/users/bbcmicrobit/orgs","repos_url":"https://api.github.com/users/bbcmicrobit/repos","events_url":"https://api.github.com/users/bbcmicrobit/events{/privacy}","received_events_url":"https://api.github.com/users/bbcmicrobit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bbcmicrobit/micropython","description":"Port of MicroPython for the BBC micro:bit","fork":false,"url":"https://api.github.com/repos/bbcmicrobit/micropython","forks_url":"https://api.github.com/repos/bbcmicrobit/micropython/forks","keys_url":"https://api.github.com/repos/bbcmicrobit/micropython/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bbcmicrobit/micropython/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bbcmicrobit/micropython/teams","hooks_url":"https://api.github.com/repos/bbcmicrobit/micropython/hooks","issue_events_url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/events{/number}","events_url":"https://api.github.com/repos/bbcmicrobit/micropython/events","assignees_url":"https://api.github.com/repos/bbcmicrobit/micropython/assignees{/user}","branches_url":"https://api.github.com/repos/bbcmicrobit/micropython/branches{/branch}","tags_url":"https://api.github.com/repos/bbcmicrobit/micropython/tags","blobs_url":"https://api.github.com/repos/bbcmicrobit/micropython/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bbcmicrobit/micropython/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bbcmicrobit/micropython/git/refs{/sha}","trees_url":"https://api.github.com/repos/bbcmicrobit/micropython/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bbcmicrobit/micropython/statuses/{sha}","languages_url":"https://api.github.com/repos/bbcmicrobit/micropython/languages","stargazers_url":"https://api.github.com/repos/bbcmicrobit/micropython/stargazers","contributors_url":"https://api.github.com/repos/bbcmicrobit/micropython/contributors","subscribers_url":"https://api.github.com/repos/bbcmicrobit/micropython/subscribers","subscription_url":"https://api.github.com/repos/bbcmicrobit/micropython/subscription","commits_url":"https://api.github.com/repos/bbcmicrobit/micropython/commits{/sha}","git_commits_url":"https://api.github.com/repos/bbcmicrobit/micropython/git/commits{/sha}","comments_url":"https://api.github.com/repos/bbcmicrobit/micropython/comments{/number}","issue_comment_url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/comments{/number}","contents_url":"https://api.github.com/repos/bbcmicrobit/micropython/contents/{+path}","compare_url":"https://api.github.com/repos/bbcmicrobit/micropython/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bbcmicrobit/micropython/merges","archive_url":"https://api.github.com/repos/bbcmicrobit/micropython/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bbcmicrobit/micropython/downloads","issues_url":"https://api.github.com/repos/bbcmicrobit/micropython/issues{/number}","pulls_url":"https://api.github.com/repos/bbcmicrobit/micropython/pulls{/number}","milestones_url":"https://api.github.com/repos/bbcmicrobit/micropython/milestones{/number}","notifications_url":"https://api.github.com/repos/bbcmicrobit/micropython/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bbcmicrobit/micropython/labels{/name}","releases_url":"https://api.github.com/repos/bbcmicrobit/micropython/releases{/id}","created_at":"2015-08-07T11:58:53Z","updated_at":"2015-11-05T13:05:25Z","pushed_at":"2015-11-07T20:48:26Z","git_url":"git://github.com/bbcmicrobit/micropython.git","ssh_url":"git@github.com:bbcmicrobit/micropython.git","clone_url":"https://github.com/bbcmicrobit/micropython.git","svn_url":"https://github.com/bbcmicrobit/micropython","homepage":"","size":12859,"stargazers_count":95,"watchers_count":95,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":29,"forks":13,"open_issues":29,"watchers":95,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bbcmicrobit/micropython/pulls/79"},"html":{"href":"https://github.com/bbcmicrobit/micropython/pull/79"},"issue":{"href":"https://api.github.com/repos/bbcmicrobit/micropython/issues/79"},"comments":{"href":"https://api.github.com/repos/bbcmicrobit/micropython/issues/79/comments"},"review_comments":{"href":"https://api.github.com/repos/bbcmicrobit/micropython/pulls/79/comments"},"review_comment":{"href":"https://api.github.com/repos/bbcmicrobit/micropython/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bbcmicrobit/micropython/pulls/79/commits"},"statuses":{"href":"https://api.github.com/repos/bbcmicrobit/micropython/statuses/3d2b8f3133a6fc3db135769cb805f9e172e41f72"}}}}