{"action":"created","comment":{"url":"https://api.github.com/repos/vigneshsarma/Water-Jug/pulls/comments/106120218","pull_request_review_id":27026568,"id":106120218,"diff_hunk":"@@ -4,101 +4,102 @@\n \n class WaterJug:\n \n-    def __init__(self,fileptr):\n-        self.num=int(fileptr.readline())\n+    def __init__(self,fileptr): #constructor\n+        self.num=int(fileptr.readline()) #number of glass","path":"WaterJug.py","position":7,"original_position":7,"commit_id":"b81db1aceb2facaa4acadf23f99ce1f7cd27719d","original_commit_id":"b81db1aceb2facaa4acadf23f99ce1f7cd27719d","user":{"login":"vigneshsarma","id":889999,"avatar_url":"https://avatars1.githubusercontent.com/u/889999?v=3","gravatar_id":"","url":"https://api.github.com/users/vigneshsarma","html_url":"https://github.com/vigneshsarma","followers_url":"https://api.github.com/users/vigneshsarma/followers","following_url":"https://api.github.com/users/vigneshsarma/following{/other_user}","gists_url":"https://api.github.com/users/vigneshsarma/gists{/gist_id}","starred_url":"https://api.github.com/users/vigneshsarma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vigneshsarma/subscriptions","organizations_url":"https://api.github.com/users/vigneshsarma/orgs","repos_url":"https://api.github.com/users/vigneshsarma/repos","events_url":"https://api.github.com/users/vigneshsarma/events{/privacy}","received_events_url":"https://api.github.com/users/vigneshsarma/received_events","type":"User","site_admin":false},"body":"I would like to merge it, but not in its current form. 😄 ","created_at":"2017-03-15T09:38:22Z","updated_at":"2017-03-15T09:38:22Z","html_url":"https://github.com/vigneshsarma/Water-Jug/pull/1#discussion_r106120218","pull_request_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/vigneshsarma/Water-Jug/pulls/comments/106120218"},"html":{"href":"https://github.com/vigneshsarma/Water-Jug/pull/1#discussion_r106120218"},"pull_request":{"href":"https://api.github.com/repos/vigneshsarma/Water-Jug/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/vigneshsarma/Water-Jug/pulls/1","id":110544707,"html_url":"https://github.com/vigneshsarma/Water-Jug/pull/1","diff_url":"https://github.com/vigneshsarma/Water-Jug/pull/1.diff","patch_url":"https://github.com/vigneshsarma/Water-Jug/pull/1.patch","issue_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/issues/1","number":1,"state":"open","locked":false,"title":"adding description to each line of code","user":{"login":"as3mbus","id":16043293,"avatar_url":"https://avatars1.githubusercontent.com/u/16043293?v=3","gravatar_id":"","url":"https://api.github.com/users/as3mbus","html_url":"https://github.com/as3mbus","followers_url":"https://api.github.com/users/as3mbus/followers","following_url":"https://api.github.com/users/as3mbus/following{/other_user}","gists_url":"https://api.github.com/users/as3mbus/gists{/gist_id}","starred_url":"https://api.github.com/users/as3mbus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/as3mbus/subscriptions","organizations_url":"https://api.github.com/users/as3mbus/orgs","repos_url":"https://api.github.com/users/as3mbus/repos","events_url":"https://api.github.com/users/as3mbus/events{/privacy}","received_events_url":"https://api.github.com/users/as3mbus/received_events","type":"User","site_admin":false},"body":"adding some description for each code to make learning the code easier. \r\nim also still learning python and reading your code make me understand it at the same time. \r\nsorry of there are some bad grammar here and there\r\ngood work :)","created_at":"2017-03-14T04:07:20Z","updated_at":"2017-03-15T09:38:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b6a2bace1f9df98303ba6937a9a8e66c16ee64b1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/pulls/1/commits","review_comments_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/pulls/1/comments","review_comment_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/issues/1/comments","statuses_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/statuses/b81db1aceb2facaa4acadf23f99ce1f7cd27719d","head":{"label":"as3mbus:as3mbus","ref":"as3mbus","sha":"b81db1aceb2facaa4acadf23f99ce1f7cd27719d","user":{"login":"as3mbus","id":16043293,"avatar_url":"https://avatars1.githubusercontent.com/u/16043293?v=3","gravatar_id":"","url":"https://api.github.com/users/as3mbus","html_url":"https://github.com/as3mbus","followers_url":"https://api.github.com/users/as3mbus/followers","following_url":"https://api.github.com/users/as3mbus/following{/other_user}","gists_url":"https://api.github.com/users/as3mbus/gists{/gist_id}","starred_url":"https://api.github.com/users/as3mbus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/as3mbus/subscriptions","organizations_url":"https://api.github.com/users/as3mbus/orgs","repos_url":"https://api.github.com/users/as3mbus/repos","events_url":"https://api.github.com/users/as3mbus/events{/privacy}","received_events_url":"https://api.github.com/users/as3mbus/received_events","type":"User","site_admin":false},"repo":{"id":84903949,"name":"Water-Jug","full_name":"as3mbus/Water-Jug","owner":{"login":"as3mbus","id":16043293,"avatar_url":"https://avatars1.githubusercontent.com/u/16043293?v=3","gravatar_id":"","url":"https://api.github.com/users/as3mbus","html_url":"https://github.com/as3mbus","followers_url":"https://api.github.com/users/as3mbus/followers","following_url":"https://api.github.com/users/as3mbus/following{/other_user}","gists_url":"https://api.github.com/users/as3mbus/gists{/gist_id}","starred_url":"https://api.github.com/users/as3mbus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/as3mbus/subscriptions","organizations_url":"https://api.github.com/users/as3mbus/orgs","repos_url":"https://api.github.com/users/as3mbus/repos","events_url":"https://api.github.com/users/as3mbus/events{/privacy}","received_events_url":"https://api.github.com/users/as3mbus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/as3mbus/Water-Jug","description":"Is a famous \"Artificial Intelligence\" problem. This is the solution I came up with when it was given as an assignment at our college.","fork":true,"url":"https://api.github.com/repos/as3mbus/Water-Jug","forks_url":"https://api.github.com/repos/as3mbus/Water-Jug/forks","keys_url":"https://api.github.com/repos/as3mbus/Water-Jug/keys{/key_id}","collaborators_url":"https://api.github.com/repos/as3mbus/Water-Jug/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/as3mbus/Water-Jug/teams","hooks_url":"https://api.github.com/repos/as3mbus/Water-Jug/hooks","issue_events_url":"https://api.github.com/repos/as3mbus/Water-Jug/issues/events{/number}","events_url":"https://api.github.com/repos/as3mbus/Water-Jug/events","assignees_url":"https://api.github.com/repos/as3mbus/Water-Jug/assignees{/user}","branches_url":"https://api.github.com/repos/as3mbus/Water-Jug/branches{/branch}","tags_url":"https://api.github.com/repos/as3mbus/Water-Jug/tags","blobs_url":"https://api.github.com/repos/as3mbus/Water-Jug/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/as3mbus/Water-Jug/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/as3mbus/Water-Jug/git/refs{/sha}","trees_url":"https://api.github.com/repos/as3mbus/Water-Jug/git/trees{/sha}","statuses_url":"https://api.github.com/repos/as3mbus/Water-Jug/statuses/{sha}","languages_url":"https://api.github.com/repos/as3mbus/Water-Jug/languages","stargazers_url":"https://api.github.com/repos/as3mbus/Water-Jug/stargazers","contributors_url":"https://api.github.com/repos/as3mbus/Water-Jug/contributors","subscribers_url":"https://api.github.com/repos/as3mbus/Water-Jug/subscribers","subscription_url":"https://api.github.com/repos/as3mbus/Water-Jug/subscription","commits_url":"https://api.github.com/repos/as3mbus/Water-Jug/commits{/sha}","git_commits_url":"https://api.github.com/repos/as3mbus/Water-Jug/git/commits{/sha}","comments_url":"https://api.github.com/repos/as3mbus/Water-Jug/comments{/number}","issue_comment_url":"https://api.github.com/repos/as3mbus/Water-Jug/issues/comments{/number}","contents_url":"https://api.github.com/repos/as3mbus/Water-Jug/contents/{+path}","compare_url":"https://api.github.com/repos/as3mbus/Water-Jug/compare/{base}...{head}","merges_url":"https://api.github.com/repos/as3mbus/Water-Jug/merges","archive_url":"https://api.github.com/repos/as3mbus/Water-Jug/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/as3mbus/Water-Jug/downloads","issues_url":"https://api.github.com/repos/as3mbus/Water-Jug/issues{/number}","pulls_url":"https://api.github.com/repos/as3mbus/Water-Jug/pulls{/number}","milestones_url":"https://api.github.com/repos/as3mbus/Water-Jug/milestones{/number}","notifications_url":"https://api.github.com/repos/as3mbus/Water-Jug/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/as3mbus/Water-Jug/labels{/name}","releases_url":"https://api.github.com/repos/as3mbus/Water-Jug/releases{/id}","deployments_url":"https://api.github.com/repos/as3mbus/Water-Jug/deployments","created_at":"2017-03-14T04:01:53Z","updated_at":"2017-03-14T04:03:09Z","pushed_at":"2017-03-14T04:03:26Z","git_url":"git://github.com/as3mbus/Water-Jug.git","ssh_url":"git@github.com:as3mbus/Water-Jug.git","clone_url":"https://github.com/as3mbus/Water-Jug.git","svn_url":"https://github.com/as3mbus/Water-Jug","homepage":"","size":6,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"vigneshsarma:master","ref":"master","sha":"b04bdbab40fe66897dbc467f591eb55d180c53cc","user":{"login":"vigneshsarma","id":889999,"avatar_url":"https://avatars1.githubusercontent.com/u/889999?v=3","gravatar_id":"","url":"https://api.github.com/users/vigneshsarma","html_url":"https://github.com/vigneshsarma","followers_url":"https://api.github.com/users/vigneshsarma/followers","following_url":"https://api.github.com/users/vigneshsarma/following{/other_user}","gists_url":"https://api.github.com/users/vigneshsarma/gists{/gist_id}","starred_url":"https://api.github.com/users/vigneshsarma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vigneshsarma/subscriptions","organizations_url":"https://api.github.com/users/vigneshsarma/orgs","repos_url":"https://api.github.com/users/vigneshsarma/repos","events_url":"https://api.github.com/users/vigneshsarma/events{/privacy}","received_events_url":"https://api.github.com/users/vigneshsarma/received_events","type":"User","site_admin":false},"repo":{"id":3326754,"name":"Water-Jug","full_name":"vigneshsarma/Water-Jug","owner":{"login":"vigneshsarma","id":889999,"avatar_url":"https://avatars1.githubusercontent.com/u/889999?v=3","gravatar_id":"","url":"https://api.github.com/users/vigneshsarma","html_url":"https://github.com/vigneshsarma","followers_url":"https://api.github.com/users/vigneshsarma/followers","following_url":"https://api.github.com/users/vigneshsarma/following{/other_user}","gists_url":"https://api.github.com/users/vigneshsarma/gists{/gist_id}","starred_url":"https://api.github.com/users/vigneshsarma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vigneshsarma/subscriptions","organizations_url":"https://api.github.com/users/vigneshsarma/orgs","repos_url":"https://api.github.com/users/vigneshsarma/repos","events_url":"https://api.github.com/users/vigneshsarma/events{/privacy}","received_events_url":"https://api.github.com/users/vigneshsarma/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vigneshsarma/Water-Jug","description":"Is a famous \"Artificial Intelligence\" problem. This is the solution I came up with when it was given as an assignment at our college.","fork":false,"url":"https://api.github.com/repos/vigneshsarma/Water-Jug","forks_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/forks","keys_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/teams","hooks_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/hooks","issue_events_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/issues/events{/number}","events_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/events","assignees_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/assignees{/user}","branches_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/branches{/branch}","tags_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/tags","blobs_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/git/refs{/sha}","trees_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/statuses/{sha}","languages_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/languages","stargazers_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/stargazers","contributors_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/contributors","subscribers_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/subscribers","subscription_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/subscription","commits_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/commits{/sha}","git_commits_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/git/commits{/sha}","comments_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/comments{/number}","issue_comment_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/issues/comments{/number}","contents_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/contents/{+path}","compare_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/merges","archive_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/downloads","issues_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/issues{/number}","pulls_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/pulls{/number}","milestones_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/milestones{/number}","notifications_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/labels{/name}","releases_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/releases{/id}","deployments_url":"https://api.github.com/repos/vigneshsarma/Water-Jug/deployments","created_at":"2012-02-01T16:46:28Z","updated_at":"2014-04-16T08:51:03Z","pushed_at":"2017-03-14T04:07:20Z","git_url":"git://github.com/vigneshsarma/Water-Jug.git","ssh_url":"git@github.com:vigneshsarma/Water-Jug.git","clone_url":"https://github.com/vigneshsarma/Water-Jug.git","svn_url":"https://github.com/vigneshsarma/Water-Jug","homepage":"","size":100,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vigneshsarma/Water-Jug/pulls/1"},"html":{"href":"https://github.com/vigneshsarma/Water-Jug/pull/1"},"issue":{"href":"https://api.github.com/repos/vigneshsarma/Water-Jug/issues/1"},"comments":{"href":"https://api.github.com/repos/vigneshsarma/Water-Jug/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/vigneshsarma/Water-Jug/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/vigneshsarma/Water-Jug/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vigneshsarma/Water-Jug/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/vigneshsarma/Water-Jug/statuses/b81db1aceb2facaa4acadf23f99ce1f7cd27719d"}}}}
{"actor":{"display_login":"vigneshsarma"}}